Skip to content

glsl: Add varyings to "zero-init of uninitialized vars" workaround

Varyings are similar to already handled cases. And "glsl_zero_init" name of the workaround already looks like it should include varyings.

The issue was observed in GiMark subtest from GpuTest (#1919 (closed)).

I don't add workaround for GiMark because it has high chances to be resolved by creators. However I think adding varyings will make glsl_zero_init more intuitive (At first I though that the issue is not with uninitialized variables because enabling glsl_zero_init didn't solve it) and make it easier to eliminate issue causes.

Merge request reports

Loading