summaryrefslogtreecommitdiffstats
path: root/src/glsl/link_uniforms.cpp
diff options
context:
space:
mode:
authorIan Romanick <[email protected]>2013-01-22 01:14:36 -0500
committerIan Romanick <[email protected]>2013-01-25 09:07:36 -0500
commit22233da1ee4b59663966169759960c00c033d0e9 (patch)
treee26a6f241f19ca1e412bdf2c6fa4b02f3f659b94 /src/glsl/link_uniforms.cpp
parentf09d77b2af0e6e7553a1e2efca2f12fe2e4dcea8 (diff)
glsl: Remove ir_variable::uniform_block
v2: A previous patch contained a spurious hunk that removed an assignment to ir_variable::uniform_block. That hunk was moved to this patch. Suggested by Carl Worth. Signed-off-by: Ian Romanick <[email protected]> Reviewed-by: Kenneth Graunke <[email protected]>
Diffstat (limited to 'src/glsl/link_uniforms.cpp')
-rw-r--r--src/glsl/link_uniforms.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/glsl/link_uniforms.cpp b/src/glsl/link_uniforms.cpp
index 3e24842a026..f1284adb293 100644
--- a/src/glsl/link_uniforms.cpp
+++ b/src/glsl/link_uniforms.cpp
@@ -575,7 +575,6 @@ link_update_uniform_buffer_variables(struct gl_shader *shader)
} else if (!strcmp(var->name,
shader->UniformBlocks[i].Uniforms[j].Name)) {
found = true;
- var->uniform_block = i;
var->location = j;
break;
}