Fix T100530: Drawing arifacts Volume/AMD.
Missing initialization of global shader variable. Most drivers initialize these by them selves, but not all of them.
This commit is contained in:
parent
4a7ace4a78
commit
6008c67859
Notes:
blender-bot
2023-02-14 11:42:40 +01:00
Referenced by issue #100749, Blender LTS: Maintenance Task 3.3 Referenced by issue #100530, Regression: EEVEE: AMD driver 22.7.1 - 22.8.2: Volumes created from VDB and Geometry Nodes show artifacts
|
@ -20,7 +20,7 @@ layout(location = 1) out vec4 volumeExtinction;
|
|||
layout(location = 2) out vec4 volumeEmissive;
|
||||
layout(location = 3) out vec4 volumePhase;
|
||||
|
||||
int attr_id;
|
||||
int attr_id = 0;
|
||||
|
||||
#ifndef CLEAR
|
||||
GlobalData init_globals(void)
|
||||
|
|
Loading…
Reference in New Issue