diff options
author | Marek Olšák <[email protected]> | 2017-03-28 16:18:45 +0200 |
---|---|---|
committer | Marek Olšák <[email protected]> | 2017-03-31 21:41:57 +0200 |
commit | e3cb67dc6b3a6a6041d5dd5aa9a3b292e320a80d (patch) | |
tree | 6fa5ba6eed3aa92dafe48ce414f9b684292d029b /src/gallium/drivers | |
parent | 6ab20427612704ae3b84ca014d81093c3fd33232 (diff) |
radeonsi/gfx9: fix 1D array fetches with derivs, bias, or Z compare value
Reviewed-by: Nicolai Hähnle <[email protected]>
Diffstat (limited to 'src/gallium/drivers')
-rw-r--r-- | src/gallium/drivers/radeonsi/si_shader.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/drivers/radeonsi/si_shader.c b/src/gallium/drivers/radeonsi/si_shader.c index 2e34b76929e..49c50b719bc 100644 --- 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] = coords[count - 1]; + address[count] = address[count - 1]; address[count - 1] = filler; count++; } |