From 84ca6bc113e72c6e6bdac84f32befdc113cb69e1 Mon Sep 17 00:00:00 2001 From: Eric Anholt Date: Mon, 15 Sep 2014 13:32:18 -0700 Subject: [PATCH] vc4: Bump maximum ARB program temporaries to match Intel/AMD. This query has always been useless, but we could potentially reject well-formed, runnable programs if we expose a value that's too low. --- src/gallium/drivers/vc4/vc4_screen.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gallium/drivers/vc4/vc4_screen.c b/src/gallium/drivers/vc4/vc4_screen.c index e5b683e93ea..a8ad493a55e 100644 --- a/src/gallium/drivers/vc4/vc4_screen.c +++ b/src/gallium/drivers/vc4/vc4_screen.c @@ -276,7 +276,7 @@ vc4_screen_get_shader_param(struct pipe_screen *pscreen, unsigned shader, case PIPE_SHADER_CAP_MAX_INPUTS: return 16; case PIPE_SHADER_CAP_MAX_TEMPS: - return 64; /* Max native temporaries. */ + return 256; /* GL_MAX_PROGRAM_TEMPORARIES_ARB */ case PIPE_SHADER_CAP_MAX_CONST_BUFFER_SIZE: return 16 * 1024 * sizeof(float); case PIPE_SHADER_CAP_MAX_CONST_BUFFERS: -- 2.30.2