Skip to content
Snippets Groups Projects
Commit b117f597 authored by James Legg's avatar James Legg Committed by Faith Ekstrand
Browse files

spirv: Fix reaching unreachable for compare exchange on images


We were hitting the
	unreachable("Invalid image opcode")
near the end of vtn_handle_image when parsing the
SpvOpAtomicCompareExchange opcode.

v2: Add stable CC.
v3: Ignore SpvOpAtomicCompareExchangeWeak. It requires the Kernel
capability which is not exposed in Vulkan, and spirv_to_nir is not used
for OpenCL which does support it.

Reviewed-by: default avatarJason Ekstrand <jason@jlekstrand.net>
CC: <mesa-stable@lists.freedesktop.org>
parent aaee0d1b
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment