Mesa (master): radeonsi/gfx9: fix 1D array shader images
Marek Olšák
mareko at kemper.freedesktop.org
Wed Apr 26 11:23:40 UTC 2017
Module: Mesa
Branch: master
Commit: 482e6b07cc6ce4b2ceac8188be19dbf252eaecde
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=482e6b07cc6ce4b2ceac8188be19dbf252eaecde
Author: Marek Olšák <marek.olsak at amd.com>
Date: Sun Apr 23 23:29:20 2017 +0200
radeonsi/gfx9: fix 1D array shader images
Cc: 17.1 <mesa-stable at lists.freedesktop.org>
Reviewed-by: Nicolai Hähnle <nicolai.haehnle at amd.com>
---
src/gallium/drivers/radeonsi/si_shader.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/src/gallium/drivers/radeonsi/si_shader.c b/src/gallium/drivers/radeonsi/si_shader.c
index 5d7175d674..c5c994d607 100644
--- 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++;
}
}
More information about the mesa-commit
mailing list