Mesa (master): vc4: Bump maximum ARB program temporaries to match Intel/ AMD.
Eric Anholt
anholt at kemper.freedesktop.org
Mon Sep 15 22:07:30 UTC 2014
Module: Mesa
Branch: master
Commit: 84ca6bc113e72c6e6bdac84f32befdc113cb69e1
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=84ca6bc113e72c6e6bdac84f32befdc113cb69e1
Author: Eric Anholt <eric at anholt.net>
Date: Mon Sep 15 13:32:18 2014 -0700
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 e5b683e..a8ad493 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:
More information about the mesa-commit
mailing list