diff options
author | Roland Scheidegger <[email protected]> | 2013-02-12 16:45:49 +0100 |
---|---|---|
committer | Roland Scheidegger <[email protected]> | 2013-02-12 16:51:11 +0100 |
commit | 2947f00bc466a03e3cc99fcf6c6334c2a896bfbe (patch) | |
tree | caddae879e5bc13e9af33467e54a1a2247f93bea /src/gallium/drivers/nv50 | |
parent | 427d36a22741890a7ce55b6b5bcd40fd4bdd2d35 (diff) |
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 <[email protected]>
Diffstat (limited to 'src/gallium/drivers/nv50')
-rw-r--r-- | src/gallium/drivers/nv50/codegen/nv50_ir_from_tgsi.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/drivers/nv50/codegen/nv50_ir_from_tgsi.cpp b/src/gallium/drivers/nv50/codegen/nv50_ir_from_tgsi.cpp index 5078eb4d6f8..acec6230fa8 100644 --- a/src/gallium/drivers/nv50/codegen/nv50_ir_from_tgsi.cpp +++ b/src/gallium/drivers/nv50/codegen/nv50_ir_from_tgsi.cpp @@ -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: |