diff options
author | Eric Anholt <[email protected]> | 2014-09-15 13:32:18 -0700 |
---|---|---|
committer | Eric Anholt <[email protected]> | 2014-09-15 15:05:06 -0700 |
commit | 84ca6bc113e72c6e6bdac84f32befdc113cb69e1 (patch) | |
tree | b0a1b74f9a031185f1abb101850b9abf20c9a9b8 /src | |
parent | 33443f506f27dc20a754900f07fe9597129c934b (diff) |
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.
Diffstat (limited to 'src')
-rw-r--r-- | src/gallium/drivers/vc4/vc4_screen.c | 2 |
1 files changed, 1 insertions, 1 deletions
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: |