mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-01 05:20:09 +01:00
radeonsi: set the max UBO size same as the max SSBO size
Reviewed-by: Mihai Preda <mhpreda@gmail.com> Reviewed-by: Pierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer@amd.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16901>
This commit is contained in:
parent
b750844319
commit
b7cb4d4f6f
1 changed files with 1 additions and 0 deletions
|
|
@ -252,6 +252,7 @@ static int si_get_param(struct pipe_screen *pscreen, enum pipe_cap param)
|
|||
return max_texels;
|
||||
}
|
||||
|
||||
case PIPE_CAP_MAX_CONSTANT_BUFFER_SIZE_UINT:
|
||||
case PIPE_CAP_MAX_SHADER_BUFFER_SIZE_UINT: {
|
||||
/* Return 1/4th of the heap size as the maximum because the max size is not practically
|
||||
* allocatable. Also, this can only return UINT32_MAX at most.
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue