mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 11:48:06 +02:00
gallium: set PIPE_MAX_SAMPLERS to 18
For drivers that use higher slots not to crash in tgsi_shader_info. Reviewed-by: Glenn Kennard <glenn.kennard@gmail.com> Reviewed-by: Brian Paul <brianp@vmware.com>
This commit is contained in:
parent
8fc542aa89
commit
b616429ca8
1 changed files with 1 additions and 1 deletions
|
|
@ -57,7 +57,7 @@ extern "C" {
|
|||
#define PIPE_MAX_CLIP_PLANES 8
|
||||
#define PIPE_MAX_COLOR_BUFS 8
|
||||
#define PIPE_MAX_CONSTANT_BUFFERS 32
|
||||
#define PIPE_MAX_SAMPLERS 16
|
||||
#define PIPE_MAX_SAMPLERS 18 /* 16 public + 2 driver internal */
|
||||
#define PIPE_MAX_SHADER_INPUTS 32
|
||||
#define PIPE_MAX_SHADER_OUTPUTS 48 /* 32 GENERICs + POS, PSIZE, FOG, etc. */
|
||||
#define PIPE_MAX_SHADER_SAMPLER_VIEWS 32
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue