projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5c94779
)
radeonsi/gfx9: fix 1D array shader images
author
Marek Olšák
<marek.olsak@amd.com>
Sun, 23 Apr 2017 21:29:20 +0000
(23:29 +0200)
committer
Marek Olšák
<marek.olsak@amd.com>
Wed, 26 Apr 2017 11:08:05 +0000
(13:08 +0200)
Cc: 17.1 <mesa-stable@lists.freedesktop.org>
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 5d7175d674eb18a9d076871addfbbed9492c0004..c5c994d60726ae8d0d1fb0434ed661d5b6263822 100644
(file)
--- a/
src/gallium/drivers/radeonsi/si_shader.c
+++ b/
src/gallium/drivers/radeonsi/si_shader.c
@@
-3425,6
+3425,7
@@
static LLVMValueRef image_fetch_coords(
} else if (target == TGSI_TEXTURE_1D_ARRAY) {
coords[2] = coords[1];
coords[1] = ctx->i32_0;
+ num_coords++;
}
}