diff options
author | Antia Puentes <[email protected]> | 2018-05-02 22:28:43 +0200 |
---|---|---|
committer | Alejandro Piñeiro <[email protected]> | 2018-07-03 12:41:46 +0200 |
commit | 4110bc4c17990e5b10da6c3dcf8ad6fbd5b99656 (patch) | |
tree | 31f24f68127e5fb572ae3f928c5a655ac79a40ee /bin/perf-annotate-jit.py | |
parent | 480d2c56b34667d461962f34d5ace1b279516281 (diff) |
nir/spirv: Fix atomic counter (multidimensional-)arrays
When constructing NIR if we have a SPIR-V uint variable and the
storage class is SpvStorageClassAtomicCounter, we store as NIR's
glsl_type an atomic_uint to reflect the fact that the variable is an
atomic counter.
However, we were tweaking the type only for atomic_uint scalars, we
have to do it as well for atomic_uint arrays and atomic_uint arrays of
arrays of any depth.
Signed-off-by: Antia Puentes <[email protected]>
Signed-off-by: Alejandro Piñeiro <[email protected]>
v2: update after deref patches got pushed (Alejandro Piñeiro)
v3: simplify repair_atomic_type (suggested by Timothy Arceri, included
on the patch by Alejandro)
Reviewed-by: Timothy Arceri <[email protected]>
Diffstat (limited to 'bin/perf-annotate-jit.py')
0 files changed, 0 insertions, 0 deletions