diff options
author | Iago Toral Quiroga <[email protected]> | 2015-10-15 08:47:09 +0200 |
---|---|---|
committer | Iago Toral Quiroga <[email protected]> | 2015-10-16 10:12:44 +0200 |
commit | c8f5274b52682f4e1b767251b50f6191d8251079 (patch) | |
tree | e92836d390ad413a2b130e64578c83f1a6a63612 /src/glsl/blob.c | |
parent | f534f331ca354bcb138e2b8f6d6d80147ee4a186 (diff) |
nir: Get the number of SSBOs and UBOs right
Before d31f98a272e429d and 56e2bdbca36a20 we had a sigle index space for UBOs
and SSBOs, so NumBufferInterfaceBlocks would contain the combined number of
blocks, not just one kind. This means that for shader programs using both
UBOs and SSBOs, we were setting num_ssbos and num_ubos to a larger number than
we should. Since the above commits we have separate index spaces for each
so we can just get the right numbers.
Reviewed-by: Jason Ekstrand <[email protected]>
Diffstat (limited to 'src/glsl/blob.c')
0 files changed, 0 insertions, 0 deletions