diff options
author | Connor Abbott <[email protected]> | 2019-08-27 10:54:12 +0200 |
---|---|---|
committer | Connor Abbott <[email protected]> | 2019-09-03 15:54:54 +0200 |
commit | dcc64fcfed6904f6be41ee4b742c818e76b85712 (patch) | |
tree | 73f686d7d35da411424196c3b8832525f4f17df1 /src/broadcom/compiler/nir_to_vir.c | |
parent | 2abf62d3483afd8f0de7f19d114d164de4741127 (diff) |
nir: Fix num_ssbos when lowering atomic counters
Otherwise it's impossible to know the maximum SSBO index for both
internal TGSI shaders from TTN (which don't have any notion of atomic
counters and no offset) as well as shaders from GLSL.
I fixed everything I could find while grepping for num_ssbos and
num_abos, which hopefully is everything (iris was the only user I could
find that uses it in a meaningful way).
Reviewed-by: Marek Olšák <[email protected]>
Diffstat (limited to 'src/broadcom/compiler/nir_to_vir.c')
0 files changed, 0 insertions, 0 deletions