Re: [Mesa-dev] [PATCH 1/2] glsl: Validate that built-in uniforms have backing state

2014-05-31 Thread Kenneth Graunke
On Wednesday, May 28, 2014 06:35:47 PM Ian Romanick wrote: From: Ian Romanick ian.d.roman...@intel.com All built-in uniforms are supposed to be backed by some GL state. The state_slots field describes this backing state. This helped me track down a bug in a later patch. Signed-off-by:

[Mesa-dev] [PATCH 1/2] glsl: Validate that built-in uniforms have backing state

2014-05-28 Thread Ian Romanick
From: Ian Romanick ian.d.roman...@intel.com All built-in uniforms are supposed to be backed by some GL state. The state_slots field describes this backing state. This helped me track down a bug in a later patch. Signed-off-by: Ian Romanick ian.d.roman...@intel.com --- src/glsl/ir_validate.cpp