mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-08 11:18:08 +02:00
freedreno: Drop UNIFORM_BUFFER_OFFSET_ALIGNMENT to 32
This is the value exposed by the a3xx-a4xx drivers according to an official Adreno OpenGL ES Developer guide I found, and also a report I saw for a5xx while googling. Fixes renderdoc replay of a manhattan31 trace captured on a Pixel 3a. Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/6416>
This commit is contained in:
parent
a79dad950b
commit
c6861b9f75
1 changed files with 1 additions and 1 deletions
|
|
@ -298,7 +298,7 @@ fd_screen_get_param(struct pipe_screen *pscreen, enum pipe_cap param)
|
|||
return is_a4xx(screen);
|
||||
|
||||
case PIPE_CAP_CONSTANT_BUFFER_OFFSET_ALIGNMENT:
|
||||
return 64;
|
||||
return is_a2xx(screen) ? 64 : 32;
|
||||
|
||||
case PIPE_CAP_GLSL_FEATURE_LEVEL:
|
||||
case PIPE_CAP_GLSL_FEATURE_LEVEL_COMPATIBILITY:
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue