aboutsummaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/radeonsi/si_shader_nir.c
diff options
context:
space:
mode:
authorDave Airlie <[email protected]>2018-03-01 10:01:33 +1000
committerDave Airlie <[email protected]>2018-03-01 10:35:09 +1000
commit6c1b5a40fde6f4ca77f8b866e99673b34df42116 (patch)
tree1b6b40a944a0ce6b718bac4b8ff37f9ea312b746 /src/gallium/drivers/radeonsi/si_shader_nir.c
parentf9898b211eb23c18d27508a2cbbdd629fc3dc734 (diff)
radeonsi/nir: increase values to 8 for gs fetch.
This stops a crash when running (still fails): tests/spec/arb_gpu_shader_fp64/execution/explicit-location-gs-fs-vs.shader_test Reviewed-by: Timothy Arceri <[email protected]> Signed-off-by: Dave Airlie <[email protected]>
Diffstat (limited to 'src/gallium/drivers/radeonsi/si_shader_nir.c')
-rw-r--r--src/gallium/drivers/radeonsi/si_shader_nir.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/drivers/radeonsi/si_shader_nir.c b/src/gallium/drivers/radeonsi/si_shader_nir.c
index d410a6c2d66..147bd9511d2 100644
--- a/src/gallium/drivers/radeonsi/si_shader_nir.c
+++ b/src/gallium/drivers/radeonsi/si_shader_nir.c
@@ -740,7 +740,7 @@ LLVMValueRef si_nir_load_input_gs(struct ac_shader_abi *abi,
{
struct si_shader_context *ctx = si_shader_context_from_abi(abi);
- LLVMValueRef value[4];
+ LLVMValueRef value[8];
for (unsigned i = component; i < num_components + component; i++) {
value[i] = si_llvm_load_input_gs(&ctx->abi, driver_location / 4,
vertex_index, type, i);