projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
be3ab86
)
tgsi/scan: set non-valid src_index for tex offsets in scan_src_operand
author
Marek Olšák
<marek.olsak@amd.com>
Mon, 2 Oct 2017 17:51:16 +0000
(19:51 +0200)
committer
Marek Olšák
<marek.olsak@amd.com>
Fri, 6 Oct 2017 00:56:11 +0000
(
02:56
+0200)
tex offsets are not "Src" operands.
Reviewed-by: Nicolai Hähnle <nicolai.haehnle@amd.com>
src/gallium/auxiliary/tgsi/tgsi_scan.c
patch
|
blob
|
history
diff --git
a/src/gallium/auxiliary/tgsi/tgsi_scan.c
b/src/gallium/auxiliary/tgsi/tgsi_scan.c
index 212d1bb95a82aa48917d4b8e6ab67f97d9ca0d2d..6f87f8dd555bec807b12524ceb489f6fee330a78 100644
(file)
--- a/
src/gallium/auxiliary/tgsi/tgsi_scan.c
+++ b/
src/gallium/auxiliary/tgsi/tgsi_scan.c
@@
-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);
}
}