spirv/nir_to_spirv: add expect assume op codes
Reviewed-by: Karol Herbst <kherbst@redhat.com> Reviewed-by: Faith Ekstrand <faith.ekstrand@collabora.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/23115>
This commit is contained in:
@@ -4601,6 +4601,7 @@ vtn_handle_preamble_instruction(struct vtn_builder *b, SpvOp opcode,
|
||||
case SpvCapabilityDotProductInputAll:
|
||||
case SpvCapabilityDotProductInput4x8Bit:
|
||||
case SpvCapabilityDotProductInput4x8BitPacked:
|
||||
case SpvCapabilityExpectAssumeKHR:
|
||||
break;
|
||||
|
||||
case SpvCapabilityLinkage:
|
||||
@@ -6350,6 +6351,14 @@ vtn_handle_body_instruction(struct vtn_builder *b, SpvOp opcode,
|
||||
vtn_handle_integer_dot(b, opcode, w, count);
|
||||
break;
|
||||
|
||||
/* TODO: One day, we should probably do something with this information
|
||||
* For now, though, it's safe to implement them as no-ops.
|
||||
* Needed for Rusticl sycl support.
|
||||
*/
|
||||
case SpvOpAssumeTrueKHR:
|
||||
case SpvOpExpectKHR:
|
||||
break;
|
||||
|
||||
case SpvOpBitcast:
|
||||
vtn_handle_bitcast(b, w, count);
|
||||
break;
|
||||
|
Reference in New Issue
Block a user