mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-09 06:48:06 +02:00
i965: update TexSrcUnit for OPCODE_TXB
This commit is contained in:
parent
8e8019b49a
commit
c20a173656
1 changed files with 5 additions and 0 deletions
|
|
@ -1030,6 +1030,11 @@ void brw_wm_pass_fp( struct brw_wm_compile *c )
|
|||
precalc_txp(c, inst);
|
||||
break;
|
||||
|
||||
case OPCODE_TXB:
|
||||
out = emit_insn(c, inst);
|
||||
out->TexSrcUnit = fp->program.Base.SamplerUnits[inst->TexSrcUnit];
|
||||
break;
|
||||
|
||||
case OPCODE_XPD:
|
||||
out = emit_insn(c, inst);
|
||||
/* This should probably be done in the parser.
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue