summaryrefslogtreecommitdiffstats
path: root/src/glsl/ast_to_hir.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/ast_to_hir.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/ast_to_hir.cpp')
-rw-r--r--src/glsl/ast_to_hir.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/glsl/ast_to_hir.cpp b/src/glsl/ast_to_hir.cpp
index 3272868ee83..49093d88f8e 100644
--- a/src/glsl/ast_to_hir.cpp
+++ b/src/glsl/ast_to_hir.cpp
@@ -4274,7 +4274,6 @@ ast_uniform_block::hir(exec_list *instructions,
new(state) ir_variable(fields[i].type,
ralloc_strdup(state, fields[i].name),
ir_var_uniform);
- var->uniform_block = ubo - state->uniform_blocks;
var->interface_type = block_type;
state->symbols->add_variable(var);