diff options
author | Marek Olšák <[email protected]> | 2018-08-06 08:38:54 -0400 |
---|---|---|
committer | Marek Olšák <[email protected]> | 2018-08-23 16:56:17 -0400 |
commit | d3c1b212bc72494bdcca617115cda4e0b55d2dbe (patch) | |
tree | a08995d9d32f4c91a2786c344a538d26798d06a4 /src/gallium/drivers/llvmpipe/lp_screen.c | |
parent | f6ccd594e73d5bebc0b3e4ee6cb2f7eea228058f (diff) |
gallium: add PIPE_CAP_MAX_SHADER_BUFFER_SIZE
Tested-by: Dieter Nützel <[email protected]>
Diffstat (limited to 'src/gallium/drivers/llvmpipe/lp_screen.c')
-rw-r--r-- | src/gallium/drivers/llvmpipe/lp_screen.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gallium/drivers/llvmpipe/lp_screen.c b/src/gallium/drivers/llvmpipe/lp_screen.c index 1181f1c0a6e..d0f3ce9aeb8 100644 --- a/src/gallium/drivers/llvmpipe/lp_screen.c +++ b/src/gallium/drivers/llvmpipe/lp_screen.c @@ -375,6 +375,8 @@ llvmpipe_get_param(struct pipe_screen *screen, enum pipe_cap param) return 0; case PIPE_CAP_MAX_GS_INVOCATIONS: return 32; + case PIPE_CAP_MAX_SHADER_BUFFER_SIZE: + return 1 << 27; } /* should only get here on unhandled cases */ debug_printf("Unexpected PIPE_CAP %d query\n", param); |