summaryrefslogtreecommitdiffstats
path: root/src/compiler/glsl/opt_constant_propagation.cpp
diff options
context:
space:
mode:
authorTimothy Arceri <[email protected]>2016-04-02 12:16:01 +1100
committerTimothy Arceri <[email protected]>2016-04-02 17:10:56 +1100
commitd8855d66f4ae2acf994eae31e59fd2cfa5483627 (patch)
tree618f2849575d1bc19b7c314618d7e106f42eeea2 /src/compiler/glsl/opt_constant_propagation.cpp
parent0082b33a78cd007054f7774c57a4f7ea9fc1d209 (diff)
glsl: simplify buffer block resource limit checking
This changes the code to use the buffer counts stored for each stage rather than counting from scratch. It also moves the checks outside of the for loop which means we now just get a single link error message if we go over the max rather than X error messages where X is the number we have exceeded the max by. Reviewed-by: Kenneth Graunke <[email protected]>
Diffstat (limited to 'src/compiler/glsl/opt_constant_propagation.cpp')
0 files changed, 0 insertions, 0 deletions