mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-29 12:20:10 +01:00
aco: correctly validate v_fma_mixhi_f16 register assignment
Reviewed-by: Georg Lehmann <dadschoorse@gmail.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/15176>
This commit is contained in:
parent
b6ba24cd62
commit
c298ab0d23
2 changed files with 2 additions and 0 deletions
|
|
@ -446,6 +446,7 @@ instr_is_16bit(amd_gfx_level gfx_level, aco_opcode op)
|
|||
case aco_opcode::v_div_fixup_f16:
|
||||
case aco_opcode::v_interp_p2_f16:
|
||||
case aco_opcode::v_fma_mixlo_f16:
|
||||
case aco_opcode::v_fma_mixhi_f16:
|
||||
/* VOP2 */
|
||||
case aco_opcode::v_mac_f16:
|
||||
case aco_opcode::v_madak_f16:
|
||||
|
|
|
|||
|
|
@ -841,6 +841,7 @@ validate_subdword_definition(amd_gfx_level gfx_level, const aco_ptr<Instruction>
|
|||
return true;
|
||||
|
||||
switch (instr->opcode) {
|
||||
case aco_opcode::v_fma_mixhi_f16:
|
||||
case aco_opcode::buffer_load_ubyte_d16_hi:
|
||||
case aco_opcode::buffer_load_sbyte_d16_hi:
|
||||
case aco_opcode::buffer_load_short_d16_hi:
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue