diff options
author | Ian Romanick <[email protected]> | 2014-05-14 19:47:28 -0700 |
---|---|---|
committer | Ian Romanick <[email protected]> | 2014-09-30 13:34:42 -0700 |
commit | 5aa8d8194c4975876276a9c57cdd672978a491ad (patch) | |
tree | 700e5fdf988b1b1e0125c0ab2cc19da39e527db0 /src/glsl/ir_validate.cpp | |
parent | 21df0169028d600b17ab73795da2838e92ba9038 (diff) |
glsl: Make ir_variable::num_state_slots and ir_variable::state_slots private
Also move num_state_slots inside ir_variable_data for better packing.
The payoff for this will come in a few more patches.
No change Valgrind massif results for a trimmed apitrace of dota2.
Signed-off-by: Ian Romanick <[email protected]>
Reviewed-by: Matt Turner <[email protected]>
Reviewed-by: Tapani Pälli <[email protected]>
Diffstat (limited to 'src/glsl/ir_validate.cpp')
-rw-r--r-- | src/glsl/ir_validate.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/glsl/ir_validate.cpp b/src/glsl/ir_validate.cpp index 96dd7bd9599..51598629117 100644 --- a/src/glsl/ir_validate.cpp +++ b/src/glsl/ir_validate.cpp @@ -707,7 +707,7 @@ ir_validate::visit(ir_variable *ir) if (ir->data.mode == ir_var_uniform && strncmp(ir->name, "gl_", 3) == 0 - && ir->state_slots == NULL) { + && ir->get_state_slots() == NULL) { printf("built-in uniform has no state\n"); ir->print(); abort(); |