diff options
author | Jason Ekstrand <[email protected]> | 2020-05-26 15:58:56 -0500 |
---|---|---|
committer | Marge Bot <[email protected]> | 2020-05-26 23:24:45 +0000 |
commit | e91108691d27fa9f2410c056fc909e70a6c4b9c0 (patch) | |
tree | f21a18d0b35242a8052e731aa456bbbbfb6df7ee /src/compiler | |
parent | 247f2fb32ae39009f2e1ba6ae0f2c97573b910d8 (diff) |
nir: Fix sources for image atomic fadd
Somehow we ended up with an extra scalar source up-front. It doesn't
look like any drivers use this opcode yet so no real harm has been done
by it being wrong.
Acked-by: Alyssa Rosenzweig <[email protected]>
Reviewed-by: Rob Clark <[email protected]>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5218>
Diffstat (limited to 'src/compiler')
-rw-r--r-- | src/compiler/nir/nir_intrinsics.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/compiler/nir/nir_intrinsics.py b/src/compiler/nir/nir_intrinsics.py index 1f4005877b3..26f421cfb95 100644 --- a/src/compiler/nir/nir_intrinsics.py +++ b/src/compiler/nir/nir_intrinsics.py @@ -402,7 +402,7 @@ image("atomic_or", src_comp=[4, 1, 1], dest_comp=1) image("atomic_xor", src_comp=[4, 1, 1], dest_comp=1) image("atomic_exchange", src_comp=[4, 1, 1], dest_comp=1) image("atomic_comp_swap", src_comp=[4, 1, 1, 1], dest_comp=1) -image("atomic_fadd", src_comp=[1, 4, 1, 1], dest_comp=1) +image("atomic_fadd", src_comp=[4, 1, 1], dest_comp=1) image("size", dest_comp=0, flags=[CAN_ELIMINATE, CAN_REORDER]) image("samples", dest_comp=1, flags=[CAN_ELIMINATE, CAN_REORDER]) image("atomic_inc_wrap", src_comp=[4, 1, 1], dest_comp=1) |