From 446062833022a86e2e679ba631931164c9e3467e Mon Sep 17 00:00:00 2001 From: Christian Gmeiner Date: Fri, 14 Feb 2020 11:43:11 +0100 Subject: etnaviv: increase number of supported varyings to 16 No deqp regressions. Signed-off-by: Christian Gmeiner Reviewed-by: Jonathan Marek Tested-by: Marge Bot Part-of: --- src/gallium/drivers/etnaviv/etnaviv_internal.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/gallium/drivers/etnaviv/etnaviv_internal.h') diff --git a/src/gallium/drivers/etnaviv/etnaviv_internal.h b/src/gallium/drivers/etnaviv/etnaviv_internal.h index 22f6d2cd9fa..bdaa7ad6521 100644 --- a/src/gallium/drivers/etnaviv/etnaviv_internal.h +++ b/src/gallium/drivers/etnaviv/etnaviv_internal.h @@ -34,7 +34,7 @@ #include "drm/etnaviv_drmif.h" #define ETNA_NUM_INPUTS (16) -#define ETNA_NUM_VARYINGS 8 +#define ETNA_NUM_VARYINGS 16 #define ETNA_NUM_LOD (14) #define ETNA_NUM_LAYERS (6) #define ETNA_MAX_UNIFORMS (256) @@ -263,7 +263,7 @@ struct compiled_shader_state { uint32_t PS_START_PC; uint32_t PE_DEPTH_CONFIG; uint32_t GL_VARYING_TOTAL_COMPONENTS; - uint32_t GL_VARYING_NUM_COMPONENTS; + uint32_t GL_VARYING_NUM_COMPONENTS[2]; uint32_t GL_VARYING_COMPONENT_USE[2]; uint32_t GL_HALTI5_SH_SPECIALS; uint32_t FE_HALTI5_ID_CONFIG; -- cgit v1.2.3