Commit d8a5c537 authored by Rhys Perry's avatar Rhys Perry Committed by Erik Faye-Lund
Browse files

spirv: implement Volatile image operand


Signed-off-by: Rhys Perry's avatarRhys Perry <pendingchaos02@gmail.com>
Reviewed-by: Boris Brezillon's avatarBoris Brezillon <boris.brezillon@collabora.com>
Reviewed-by: Jason Ekstrand's avatarJason Ekstrand <jason@jlekstrand.net>
Part-of: <mesa/mesa!6090>
parent d5154c72
......@@ -2981,7 +2981,8 @@ vtn_handle_image(struct vtn_builder *b, SpvOp opcode,
image.lod = nir_imm_int(&b->nb, 0);
}
/* TODO: Volatile. */
if (operands & SpvImageOperandsVolatileTexelMask)
access |= ACCESS_VOLATILE;
break;
}
......@@ -3021,7 +3022,8 @@ vtn_handle_image(struct vtn_builder *b, SpvOp opcode,
image.lod = nir_imm_int(&b->nb, 0);
}
/* TODO: Volatile. */
if (operands & SpvImageOperandsVolatileTexelMask)
access |= ACCESS_VOLATILE;
break;
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment