From 482e6b07cc6ce4b2ceac8188be19dbf252eaecde Mon Sep 17 00:00:00 2001 From: Marek Olšák Date: Sun, 23 Apr 2017 23:29:20 +0200 Subject: radeonsi/gfx9: fix 1D array shader images MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: 17.1 Reviewed-by: Nicolai Hähnle --- src/gallium/drivers/radeonsi/si_shader.c | 1 + 1 file changed, 1 insertion(+) (limited to 'src') diff --git a/src/gallium/drivers/radeonsi/si_shader.c b/src/gallium/drivers/radeonsi/si_shader.c index 5d7175d674e..c5c994d6072 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++; } } -- cgit v1.2.3