Skip to content
Commit 2cb3b5b3 authored by Faith Ekstrand's avatar Faith Ekstrand Committed by Dylan Baker
Browse files

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: default avatarBas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
Cc: mesa-stable@lists.freedesktop.org
(cherry picked from commit 5e030dea)
Conflicts resolved by Dylan

Conflicts:
	src/compiler/spirv/spirv_to_nir.c
parent 7c6ff66e
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment