diff options
author | Tapani Pälli <[email protected]> | 2015-10-30 12:02:51 +0200 |
---|---|---|
committer | Tapani Pälli <[email protected]> | 2015-11-02 11:22:06 +0200 |
commit | efb333acb7ab4f9007cbeb0653783689101b0dd5 (patch) | |
tree | fbf1e32b9e49d1464420b3125d7d9f0eb53a8176 /src/mesa/main/shaderapi.c | |
parent | c2c124f89194fe33af522f090aa8e71f2c3aa474 (diff) |
mesa: fix program resource queries for atomic counter buffers
gl_active_atomic_buffer contains index to UniformStorage, we need to
calculate resource index for that gl_uniform_storage.
Fixes following CTS tests:
ES31-CTS.program_interface_query.atomic-counters
ES31-CTS.program_interface_query.atomic-counters-one-buffer
No Piglit regressions.
Signed-off-by: Tapani Pälli <[email protected]>
Reviewed-by: Marta Lofstedt <[email protected]>
Diffstat (limited to 'src/mesa/main/shaderapi.c')
0 files changed, 0 insertions, 0 deletions