glsl: Add varyings to "zero-init of uninitialized vars" workaround
authorDanylo Piliaiev <danylo.piliaiev@globallogic.com>
Thu, 21 Nov 2019 13:04:37 +0000 (15:04 +0200)
committerDanylo Piliaiev <danylo.piliaiev@gmail.com>
Fri, 22 Nov 2019 15:25:56 +0000 (15:25 +0000)
commit25a00b449fbd877716f4732aa116640d58246182
treefd03d06e0397bcfd6d6959ed569c5aa7a56a2eca
parent4c43b354c3aabe308302405a79bc0be5a8cde91f
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.

Signed-off-by: Danylo Piliaiev <danylo.piliaiev@globallogic.com>
Reviewed-by: Eric Anholt <eric@anholt.net>
src/compiler/glsl/ast_to_hir.cpp