Re: [Mesa-dev] [PATCH] glsl: use var with initializer on global var validation

2016-05-10 Thread Kenneth Graunke
On Friday, May 6, 2016 10:55:36 AM PDT Juan A. Suarez Romero wrote: > Currently, when cross validating global variables, all global variables > seen in the shaders that are part of a program are saved in a table. > > When checking a variable this already exist in the table, we check both > are ini

[Mesa-dev] [PATCH] glsl: use var with initializer on global var validation

2016-05-06 Thread Juan A. Suarez Romero
Currently, when cross validating global variables, all global variables seen in the shaders that are part of a program are saved in a table. When checking a variable this already exist in the table, we check both are initialized to the same value. If the already saved variable does not have an ini