mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-24 19:40:10 +01:00
tgsi: fix wrong reg used for unit for TGSI_OPCODE_TXF
Reviewed-by: Jose Fonseca <jfonseca@vmware.com>
This commit is contained in:
parent
a0676968b9
commit
7b3a0bb45d
1 changed files with 2 additions and 2 deletions
|
|
@ -2139,9 +2139,9 @@ exec_txd(struct tgsi_exec_machine *mach,
|
|||
|
||||
static void
|
||||
exec_txf(struct tgsi_exec_machine *mach,
|
||||
const struct tgsi_full_instruction *inst)
|
||||
const struct tgsi_full_instruction *inst)
|
||||
{
|
||||
const uint unit = inst->Src[2].Register.Index;
|
||||
const uint unit = inst->Src[1].Register.Index;
|
||||
union tgsi_exec_channel r[4];
|
||||
uint chan;
|
||||
float rgba[TGSI_NUM_CHANNELS][TGSI_QUAD_SIZE];
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue