diff options
author | Marek Olšák <[email protected]> | 2020-03-11 17:19:10 -0400 |
---|---|---|
committer | Marge Bot <[email protected]> | 2020-03-21 03:39:51 +0000 |
commit | 5cc3ab0ba0eed6e730eac869953c052f8b1e9ec2 (patch) | |
tree | 40ce8433598dc70792d3c0ff223df56f0a8ec0a6 /src/gallium/include | |
parent | 11d3aa5e7bc7dc60f18e43adf35d43082feb759e (diff) |
vbo,gallium: make glBegin/End buffer size configurable by drivers
The default is 512 KB, but radeonsi wants 4 MB.
Acked-by: Pierre-Eric Pelloux-Prayer <[email protected]>
Tested-by: Marge Bot <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4154>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4154>
Diffstat (limited to 'src/gallium/include')
-rw-r--r-- | src/gallium/include/pipe/p_defines.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gallium/include/pipe/p_defines.h b/src/gallium/include/pipe/p_defines.h index 523c81996ad..407b5afe4e3 100644 --- a/src/gallium/include/pipe/p_defines.h +++ b/src/gallium/include/pipe/p_defines.h @@ -919,6 +919,7 @@ enum pipe_cap PIPE_CAP_VIEWPORT_TRANSFORM_LOWERED, PIPE_CAP_PSIZ_CLAMPED, PIPE_CAP_DRAW_INFO_START_WITH_USER_INDICES, + PIPE_CAP_GL_BEGIN_END_BUFFER_SIZE, }; /** |