projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6ab2042
)
radeonsi/gfx9: fix 1D array fetches with derivs, bias, or Z compare value
author
Marek Olšák
<marek.olsak@amd.com>
Tue, 28 Mar 2017 14:18:45 +0000
(16:18 +0200)
committer
Marek Olšák
<marek.olsak@amd.com>
Fri, 31 Mar 2017 19:41:57 +0000
(21:41 +0200)
Reviewed-by: Nicolai Hähnle <nicolai.haehnle@amd.com>
src/gallium/drivers/radeonsi/si_shader.c
patch
|
blob
|
history
diff --git
a/src/gallium/drivers/radeonsi/si_shader.c
b/src/gallium/drivers/radeonsi/si_shader.c
index 2e34b76929ee822445a502297e42e1462e2873f4..49c50b719bcada578668bd5a2967e37b16814c55 100644
(file)
--- a/
src/gallium/drivers/radeonsi/si_shader.c
+++ b/
src/gallium/drivers/radeonsi/si_shader.c
@@
-4573,7
+4573,7
@@
static void tex_fetch_args(
address[count++] = filler;
} else if (target == TGSI_TEXTURE_1D_ARRAY ||
target == TGSI_TEXTURE_SHADOW1D_ARRAY) {
- address[count] =
coord
s[count - 1];
+ address[count] =
addres
s[count - 1];
address[count - 1] = filler;
count++;
}