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:
Jeroen Bakker 2022-11-16 12:53:10 +01:00
parent 9d732445b9
commit 51914d4a4a
Notes: blender-bot 2023-02-14 07:17:43 +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
1 changed files with 1 additions and 1 deletions

View File

@ -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)