mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-08 02:38:04 +02:00
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 <tarceri@itsqueeze.com> Signed-off-by: Dave Airlie <airlied@redhat.com>
This commit is contained in:
parent
f9898b211e
commit
6c1b5a40fd
1 changed files with 1 additions and 1 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue