From: Marek Olšák Date: Sun, 23 Apr 2017 21:29:20 +0000 (+0200) Subject: radeonsi/gfx9: fix 1D array shader images X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=482e6b07cc6ce4b2ceac8188be19dbf252eaecde;p=mesa.git radeonsi/gfx9: fix 1D array shader images Cc: 17.1 Reviewed-by: Nicolai Hähnle --- 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++; } }