glsl: Add new structures for tracking uniforms in linked shaders
authorIan Romanick <ian.d.romanick@intel.com>
Wed, 12 Oct 2011 00:16:18 +0000 (17:16 -0700)
committerIan Romanick <ian.d.romanick@intel.com>
Mon, 7 Nov 2011 21:33:16 +0000 (13:33 -0800)
commit4ad460991cb1f4d8904b075133af414a624a27f3
tree9b96e8474c48f5e8887bb0f698325b829fc1b361
parent4ad41af616fed7ad0b6980f7181c9db9b95a6732
glsl: Add new structures for tracking uniforms in linked shaders

v2: Update some comments based on feedback from Eric Anholt.

v3: Remove gl_uniform_storage::dirty field.  Make
gl_uniform_storage::initialized be bool, and make
gl_uniform_storage::sampler be uint8_t.

v4: Include stdbool.h after Tom Stellard noticed a build failure that
was introduced by the changes in v2.  Oops.

Signed-off-by: Ian Romanick <ian.d.romanick@intel.com>
Tested-by: Tom Stellard <thomas.stellard@amd.com>
src/glsl/ir_uniform.h [new file with mode: 0644]