mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-24 13:10:10 +01:00
nv50: fix bogus parameters when processing sample instructions
Discovered accidentally when changing SAMPLE_L definition. Turns out the lod arguments were already correct for the new definition but the compare and derivs were not. Reviewed-by: Christoph Bumiller <e0425955@student.tuwien.ac.at>
This commit is contained in:
parent
427d36a227
commit
2947f00bc4
1 changed files with 1 additions and 1 deletions
|
|
@ -2065,7 +2065,7 @@ Converter::handleInstruction(const struct tgsi_full_instruction *insn)
|
|||
case TGSI_OPCODE_SAMPLE_L:
|
||||
case TGSI_OPCODE_SAMPLE_C:
|
||||
case TGSI_OPCODE_SAMPLE_C_LZ:
|
||||
handleTEX(dst0, 1, 2, 0x30, 0x31, 0x40, 0x50);
|
||||
handleTEX(dst0, 1, 2, 0x30, 0x30, 0x30, 0x40);
|
||||
break;
|
||||
case TGSI_OPCODE_TXF:
|
||||
case TGSI_OPCODE_LOAD:
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue