mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-08 02:38:04 +02:00
tgsi/scan: fix uses_double
Reviewed-by: Nicolai Hähnle <nicolai.haehnle@amd.com>
This commit is contained in:
parent
497506ad93
commit
4d807d7fe2
1 changed files with 8 additions and 2 deletions
|
|
@ -457,8 +457,14 @@ scan_instruction(struct tgsi_shader_info *info,
|
|||
}
|
||||
}
|
||||
|
||||
if (fullinst->Instruction.Opcode >= TGSI_OPCODE_F2D &&
|
||||
fullinst->Instruction.Opcode <= TGSI_OPCODE_DSSG)
|
||||
if ((fullinst->Instruction.Opcode >= TGSI_OPCODE_F2D &&
|
||||
fullinst->Instruction.Opcode <= TGSI_OPCODE_DSSG) ||
|
||||
fullinst->Instruction.Opcode == TGSI_OPCODE_DFMA ||
|
||||
fullinst->Instruction.Opcode == TGSI_OPCODE_DDIV ||
|
||||
fullinst->Instruction.Opcode == TGSI_OPCODE_D2U64 ||
|
||||
fullinst->Instruction.Opcode == TGSI_OPCODE_D2I64 ||
|
||||
fullinst->Instruction.Opcode == TGSI_OPCODE_U642D ||
|
||||
fullinst->Instruction.Opcode == TGSI_OPCODE_I642D)
|
||||
info->uses_doubles = TRUE;
|
||||
|
||||
for (i = 0; i < fullinst->Instruction.NumSrcRegs; i++) {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue