summaryrefslogtreecommitdiffstats
path: root/src/compiler/spirv/vtn_variables.c
diff options
context:
space:
mode:
authorJason Ekstrand <[email protected]>2018-07-06 14:41:12 -0700
committerJason Ekstrand <[email protected]>2018-07-16 10:54:50 -0700
commit5e030deaf226a355f49647daeb60af33783fc0b7 (patch)
tree38e4dd6863fa7ab7792a727cdaa3bb6b92451108 /src/compiler/spirv/vtn_variables.c
parentf8aa116c3c6d33c4f9076d04355d6226debbb88b (diff)
spirv: Fix a couple of image atomic load/store bugs
For one thing, the NIR opcodes for image load/store always take and return a vec4 value regardless of the image type. We need to fix up both the source and destination to handle it. For another thing, we weren't actually setting up a destination in the OpAtomicLoad case. Reviewed-by: Bas Nieuwenhuizen <[email protected]> Cc: [email protected]
Diffstat (limited to 'src/compiler/spirv/vtn_variables.c')
0 files changed, 0 insertions, 0 deletions