mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-07 04:58:05 +02:00
r600: Fix duplicated subexpression in r600_asm.c
Fixes:4422ce1b04r600: force new CF with TEX only if any texture value is written Closes #3012 Signed-off-by: Gert Wollny <gert.wollny@collabora.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5187> (cherry picked from commit901793d558)
This commit is contained in:
parent
2e817d95e6
commit
ca0e70927d
2 changed files with 2 additions and 2 deletions
|
|
@ -688,7 +688,7 @@
|
|||
"description": "r600: Fix duplicated subexpression in r600_asm.c",
|
||||
"nominated": true,
|
||||
"nomination_type": 1,
|
||||
"resolution": 0,
|
||||
"resolution": 1,
|
||||
"master_sha": null,
|
||||
"because_sha": "4422ce1b04c117f61394a6834cd7933f06ce4e1f"
|
||||
},
|
||||
|
|
|
|||
|
|
@ -1452,7 +1452,7 @@ int r600_bytecode_add_tex(struct r600_bytecode *bc, const struct r600_bytecode_t
|
|||
LIST_FOR_EACH_ENTRY(ttex, &bc->cf_last->tex, list) {
|
||||
if (ttex->dst_gpr == ntex->src_gpr &&
|
||||
(ttex->dst_sel_x < 4 || ttex->dst_sel_y < 4 ||
|
||||
ttex->dst_sel_z < 4 || ttex->dst_sel_z < 4)) {
|
||||
ttex->dst_sel_z < 4 || ttex->dst_sel_w < 4)) {
|
||||
bc->force_add_cf = 1;
|
||||
break;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue