diff options
author | Marek Olšák <[email protected]> | 2017-04-23 23:29:20 +0200 |
---|---|---|
committer | Marek Olšák <[email protected]> | 2017-04-26 13:08:05 +0200 |
commit | 482e6b07cc6ce4b2ceac8188be19dbf252eaecde (patch) | |
tree | 92b7dffc3b0c9ef1e85c4178c2992cc28301ac6d /src | |
parent | 5c94779585e24e8bd1bd41707521584af4251de3 (diff) |
radeonsi/gfx9: fix 1D array shader images
Cc: 17.1 <[email protected]>
Reviewed-by: Nicolai Hähnle <[email protected]>
Diffstat (limited to 'src')
-rw-r--r-- | src/gallium/drivers/radeonsi/si_shader.c | 1 |
1 files changed, 1 insertions, 0 deletions
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++; } } |