mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-08 17:48:10 +02:00
turnip: reduce MAX_STORAGE_BUFFER_RANGE
Reduce MAX_STORAGE_BUFFER_RANGE from (1<<29) to (1<<27). While (1<<28) is fine based on my tests, let's match what the latest version of the blob does. Tested on a618 and a635. Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/18322>
This commit is contained in:
parent
89dcc52b78
commit
210807a1a4
1 changed files with 2 additions and 2 deletions
|
|
@ -98,8 +98,8 @@
|
|||
#define TU_MAX_DRM_DEVICES 8
|
||||
#define MAX_VIEWS 16
|
||||
#define MAX_BIND_POINTS 2 /* compute + graphics */
|
||||
/* The Qualcomm driver exposes 0x20000058 */
|
||||
#define MAX_STORAGE_BUFFER_RANGE 0x20000000
|
||||
/* match the latest Qualcomm driver which is also a hw limit on later gens */
|
||||
#define MAX_STORAGE_BUFFER_RANGE (1u << 27)
|
||||
/* We use ldc for uniform buffer loads, just like the Qualcomm driver, so
|
||||
* expose the same maximum range.
|
||||
* TODO: The SIZE bitfield is 15 bits, and in 4-dword units, so the actual
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue