diff options
author | Marek Olšák <marek.olsak@amd.com> | 2015-01-31 18:58:19 +0100 |
---|---|---|
committer | Marek Olšák <marek.olsak@amd.com> | 2015-02-04 14:34:13 +0100 |
commit | b616429ca8ed99f3f891b7b5b362d757856bc5a7 (patch) | |
tree | a46998355911a6b58333cf3c37ac5dbbdd3253b4 /src/gallium/include/pipe/p_state.h | |
parent | 8fc542aa8904339c52a4aec0ebaf42f498ba6ae8 (diff) | |
download | external_mesa3d-b616429ca8ed99f3f891b7b5b362d757856bc5a7.zip external_mesa3d-b616429ca8ed99f3f891b7b5b362d757856bc5a7.tar.gz external_mesa3d-b616429ca8ed99f3f891b7b5b362d757856bc5a7.tar.bz2 |
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>
Diffstat (limited to 'src/gallium/include/pipe/p_state.h')
-rw-r--r-- | src/gallium/include/pipe/p_state.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/include/pipe/p_state.h b/src/gallium/include/pipe/p_state.h index 43bc48b..e15860c 100644 --- a/src/gallium/include/pipe/p_state.h +++ b/src/gallium/include/pipe/p_state.h @@ -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 |