Mesa (master): gallium: increase PIPE_MAX_SHADER_SAMPLER_VIEWS to 128
Roland Scheidegger
sroland at kemper.freedesktop.org
Tue Mar 6 04:18:36 UTC 2018
Module: Mesa
Branch: master
Commit: cf4a92fda29ca2ab76179287bdd76f4a6183dd0e
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=cf4a92fda29ca2ab76179287bdd76f4a6183dd0e
Author: Roland Scheidegger <sroland at vmware.com>
Date: Tue Feb 27 03:38:17 2018 +0100
gallium: increase PIPE_MAX_SHADER_SAMPLER_VIEWS to 128
Some state trackers require 128.
(There are no plans to increase PIPE_MAX_SAMPLERS too, since with gl
state tracker it's unlikely more than 32 will be needed, if you need
more use bindless.)
---
src/gallium/include/pipe/p_state.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/gallium/include/pipe/p_state.h b/src/gallium/include/pipe/p_state.h
index 640e6ed26d..4dce399f84 100644
--- a/src/gallium/include/pipe/p_state.h
+++ b/src/gallium/include/pipe/p_state.h
@@ -64,7 +64,7 @@ extern "C" {
#define PIPE_MAX_SAMPLERS 32
#define PIPE_MAX_SHADER_INPUTS 80 /* 32 GENERIC + 32 PATCH + 16 others */
#define PIPE_MAX_SHADER_OUTPUTS 80 /* 32 GENERIC + 32 PATCH + 16 others */
-#define PIPE_MAX_SHADER_SAMPLER_VIEWS 32
+#define PIPE_MAX_SHADER_SAMPLER_VIEWS 128
#define PIPE_MAX_SHADER_BUFFERS 32
#define PIPE_MAX_SHADER_IMAGES 32
#define PIPE_MAX_TEXTURE_LEVELS 16
More information about the mesa-commit
mailing list