mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 16:08:04 +02:00
spirv: Implement SpvOpCopyLogical
This is the same as SpvOpCopyObject but without the type checking, which is how vtn_composite_copy works, so we just need to hook the operation. Reviewed-by: Jason Ekstrand <jason@jlekstrand.net>
This commit is contained in:
parent
81586e9f53
commit
b4eff83180
1 changed files with 2 additions and 0 deletions
|
|
@ -3252,6 +3252,7 @@ vtn_handle_composite(struct vtn_builder *b, SpvOp opcode,
|
|||
w + 5, count - 5);
|
||||
break;
|
||||
|
||||
case SpvOpCopyLogical:
|
||||
case SpvOpCopyObject:
|
||||
val->ssa = vtn_composite_copy(b, vtn_ssa_value(b, w[3]));
|
||||
break;
|
||||
|
|
@ -4445,6 +4446,7 @@ vtn_handle_body_instruction(struct vtn_builder *b, SpvOp opcode,
|
|||
case SpvOpCompositeConstruct:
|
||||
case SpvOpCompositeExtract:
|
||||
case SpvOpCompositeInsert:
|
||||
case SpvOpCopyLogical:
|
||||
case SpvOpCopyObject:
|
||||
vtn_handle_composite(b, opcode, w, count);
|
||||
break;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue