mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-24 06:18:10 +02:00
vtn: handle OpFmaKHR
Reviewed-by: Georg Lehmann <dadschoorse@gmail.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/41165>
This commit is contained in:
parent
3e158b713c
commit
d534a2057f
2 changed files with 3 additions and 0 deletions
|
|
@ -80,6 +80,7 @@ static const struct spirv_capabilities implemented_capabilities = {
|
|||
.Float16Buffer = true,
|
||||
.Float64 = true,
|
||||
.FloatControls2 = true,
|
||||
.FMAKHR = true,
|
||||
.FragmentBarycentricKHR = true,
|
||||
.FragmentDensityEXT = true,
|
||||
.FragmentFullyCoveredEXT = true,
|
||||
|
|
@ -6983,6 +6984,7 @@ vtn_handle_body_instruction(struct vtn_builder *b, SpvOp opcode,
|
|||
case SpvOpFSub:
|
||||
case SpvOpIMul:
|
||||
case SpvOpFMul:
|
||||
case SpvOpFmaKHR:
|
||||
case SpvOpUDiv:
|
||||
case SpvOpSDiv:
|
||||
case SpvOpFDiv:
|
||||
|
|
|
|||
|
|
@ -281,6 +281,7 @@ vtn_nir_alu_op_for_spirv_opcode(struct vtn_builder *b,
|
|||
case SpvOpFSub: return nir_op_fsub;
|
||||
case SpvOpIMul: return nir_op_imul;
|
||||
case SpvOpFMul: return nir_op_fmul;
|
||||
case SpvOpFmaKHR: return nir_op_ffma;
|
||||
case SpvOpUDiv: return nir_op_udiv;
|
||||
case SpvOpSDiv: return nir_op_idiv;
|
||||
case SpvOpFDiv: return nir_op_fdiv;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue