diff options
author | Timothy Arceri <[email protected]> | 2016-04-02 12:16:01 +1100 |
---|---|---|
committer | Timothy Arceri <[email protected]> | 2016-04-02 17:10:56 +1100 |
commit | d8855d66f4ae2acf994eae31e59fd2cfa5483627 (patch) | |
tree | 618f2849575d1bc19b7c314618d7e106f42eeea2 /src/mesa | |
parent | 0082b33a78cd007054f7774c57a4f7ea9fc1d209 (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/mesa')
0 files changed, 0 insertions, 0 deletions