mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-25 10:50:10 +01:00
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:
parent
37fcbb375c
commit
25bc3d2824
1 changed files with 9 additions and 0 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue