spirv: Fix OpCopyMemorySized

I have no idea how we are passing CTS tests with that bug in there.  I
guess by luck?

Fixes: 8323c03bbf "spirv: Add support for OpCopyMemorySized"
Reviewed-by: Jesse Natalie <jenatali@microsoft.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/7294>
This commit is contained in:
Jason Ekstrand
2020-10-23 11:24:51 -05:00
committed by Marge Bot
parent a071590b1d
commit 3ba786f624

View File

@@ -2185,7 +2185,7 @@ vtn_handle_variables(struct vtn_builder *b, SpvOp opcode,
nir_memcpy_deref_with_access(&b->nb,
vtn_pointer_to_deref(b, dest),
vtn_pointer_to_deref(b, dest),
vtn_pointer_to_deref(b, src),
size,
spv_access_to_gl_access(dest_access),
spv_access_to_gl_access(src_access));