mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 16:08:04 +02:00
tgsi/scan: set non-valid src_index for tex offsets in scan_src_operand
tex offsets are not "Src" operands. Reviewed-by: Nicolai Hähnle <nicolai.haehnle@amd.com>
This commit is contained in:
parent
be3ab867bd
commit
ea85b76519
1 changed files with 1 additions and 1 deletions
|
|
@ -484,7 +484,7 @@ scan_instruction(struct tgsi_shader_info *info,
|
|||
src.Register.SwizzleZ = fullinst->TexOffsets[i].SwizzleZ;
|
||||
|
||||
/* The usage mask is suboptimal but should be safe. */
|
||||
scan_src_operand(info, fullinst, &src, 0, TGSI_WRITEMASK_XYZ,
|
||||
scan_src_operand(info, fullinst, &src, -1, TGSI_WRITEMASK_XYZ,
|
||||
false, &is_mem_inst);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue