mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-02 13:50:09 +01:00
zink: don't export PIPE_CAP_MAX_COMBINED_SHADER_BUFFERS value
gallium automatically sums up the per-stage buffers if this isn't set, and some drivers (e.g., amdvlk) export UINT_MAX here which breaks the universe Reviewed-by: Erik Faye-Lund <erik.faye-lund@collabora.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/8742>
This commit is contained in:
parent
b2dbe2b87b
commit
86ff78e8fe
1 changed files with 2 additions and 1 deletions
|
|
@ -325,7 +325,8 @@ zink_get_param(struct pipe_screen *pscreen, enum pipe_cap param)
|
|||
return screen->info.props.limits.maxGeometryShaderInvocations;
|
||||
|
||||
case PIPE_CAP_MAX_COMBINED_SHADER_BUFFERS:
|
||||
return screen->info.props.limits.maxDescriptorSetStorageBuffers;
|
||||
/* gallium handles this automatically */
|
||||
return 0;
|
||||
|
||||
case PIPE_CAP_MAX_SHADER_BUFFER_SIZE:
|
||||
return 65536;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue