mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-02 05:48:07 +02:00
radeonsi: decrease the number of texture slots to 24
Company Of Heroes 2 needs only 24. This saves 512 bytes of CE RAM per shader stage. Tested-by: Edmondo Tommasina <edmondo.tommasina@gmail.com> Reviewed-by: Nicolai Hähnle <nicolai.haehnle@amd.com>
This commit is contained in:
parent
fa476e0566
commit
bdd860e307
1 changed files with 1 additions and 1 deletions
|
|
@ -35,7 +35,7 @@
|
|||
|
||||
#define SI_MAX_ATTRIBS 16
|
||||
#define SI_NUM_VERTEX_BUFFERS SI_MAX_ATTRIBS
|
||||
#define SI_NUM_SAMPLERS 32 /* OpenGL textures units per shader */
|
||||
#define SI_NUM_SAMPLERS 24 /* OpenGL textures units per shader */
|
||||
#define SI_NUM_CONST_BUFFERS 16
|
||||
#define SI_NUM_IMAGES 16
|
||||
#define SI_NUM_SHADER_BUFFERS 16
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue