diff options
author | Roland Scheidegger <[email protected]> | 2014-05-14 21:06:23 +0200 |
---|---|---|
committer | Roland Scheidegger <[email protected]> | 2014-05-15 02:35:25 +0200 |
commit | 3e817e7e56806d8adb8f16c35136045c29908944 (patch) | |
tree | f8083144a13d3c8b642849f9ade0e468c0daaf17 /src/gallium/drivers/llvmpipe | |
parent | 9c64cb80d29bb779a99f5a32b0974e8f92e8c902 (diff) |
mesa/st: fix number of ubos being declared in a shader
Previously the code used the total number of ubos being declared in the
linked program (so the ubos of all shaders combined), use the number
from the particular shader instead.
This fixes an assertion failure with piglit arb_uniform_buffer_object-maxblocks
seen in llvmpipe since 8a9f5ecdb116d0449d63f7b94efbfa8b205d826f as it now emits
code for each declared buffer, not just the ones actually used.
CC: "10.1 10.2" <[email protected]>
Reviewed-by: Brian Paul <[email protected]>
Diffstat (limited to 'src/gallium/drivers/llvmpipe')
0 files changed, 0 insertions, 0 deletions