summaryrefslogtreecommitdiffstats
path: root/common.py
diff options
context:
space:
mode:
authorAlejandro Piñeiro <[email protected]>2017-11-10 16:57:40 +0100
committerAlejandro Piñeiro <[email protected]>2018-07-03 12:41:46 +0200
commit480d2c56b34667d461962f34d5ace1b279516281 (patch)
tree22657cc72f45e4ebf207530b1009841c8b997df7 /common.py
parent88d3325a445d85d30a45d1f4c4b83c232f2660c4 (diff)
spirv/nir: tweak nir type when storage class is SpvStorageClassAtomicCounter
GLSL types differentiates uint from atomic uint. On SPIR-V the type is uint, and the variable has a specific storage class. So we need to tweak the type based on the storage class. Ideally we would like to get the proper type at vtn_handle_type, but we don't have the storage class at that moment. We tweak only the nir type, as is the one that really requires it. Reviewed-by: Timothy Arceri <[email protected]>
Diffstat (limited to 'common.py')
0 files changed, 0 insertions, 0 deletions