radeonsi: raise number of samplers per shader to 32
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=94835 Reviewed-by: Marek Olšák <marek.olsak@amd.com>
This commit is contained in:
parent
9d2693f58a
commit
2abe4f8d7d
|
@ -144,10 +144,10 @@ struct si_shader_data {
|
||||||
uint32_t sh_base[SI_NUM_SHADERS];
|
uint32_t sh_base[SI_NUM_SHADERS];
|
||||||
};
|
};
|
||||||
|
|
||||||
/* User sampler views: 0..15
|
/* User sampler views: 0..31
|
||||||
* Polygon stipple tex: 16
|
* Polygon stipple tex: 32
|
||||||
*/
|
*/
|
||||||
#define SI_NUM_USER_SAMPLERS 16 /* AKA OpenGL textures units per shader */
|
#define SI_NUM_USER_SAMPLERS 32 /* AKA OpenGL textures units per shader */
|
||||||
#define SI_POLY_STIPPLE_SAMPLER SI_NUM_USER_SAMPLERS
|
#define SI_POLY_STIPPLE_SAMPLER SI_NUM_USER_SAMPLERS
|
||||||
#define SI_NUM_SAMPLERS (SI_POLY_STIPPLE_SAMPLER + 1)
|
#define SI_NUM_SAMPLERS (SI_POLY_STIPPLE_SAMPLER + 1)
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue