From 6346490a2ee5535dc75fcab34981d2a5b591dc01 Mon Sep 17 00:00:00 2001 From: Jonathan Marek Date: Sat, 4 Jan 2020 14:17:15 -0500 Subject: etnaviv: implement UBOs At the same time, use pre-HALTI2 to use address register for indirect uniform loads, since integers/LOAD instruction isn't always available. Passes all dEQP-GLES3.functional.ubo.* on GC7000L. GC3000 with an extra flush hack passes most of them, but still fails on some of the cases with many loads. Signed-off-by: Jonathan Marek Reviewed-by: Christian Gmeiner Tested-by: Marge Bot Part-of: --- src/gallium/drivers/etnaviv/etnaviv_internal.h | 1 + 1 file changed, 1 insertion(+) (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 c868cafab8d..22f6d2cd9fa 100644 --- a/src/gallium/drivers/etnaviv/etnaviv_internal.h +++ b/src/gallium/drivers/etnaviv/etnaviv_internal.h @@ -38,6 +38,7 @@ #define ETNA_NUM_LOD (14) #define ETNA_NUM_LAYERS (6) #define ETNA_MAX_UNIFORMS (256) +#define ETNA_MAX_CONST_BUF 16 #define ETNA_MAX_PIXELPIPES 2 /* All RS operations must have width%16 = 0 */ -- cgit v1.2.3