Revert "radeonsi: decrease the number of texture slots to 24"
authorMarek Olšák <marek.olsak@amd.com>
Thu, 2 Feb 2017 18:42:22 +0000 (19:42 +0100)
committerMarek Olšák <marek.olsak@amd.com>
Thu, 2 Feb 2017 23:39:48 +0000 (00:39 +0100)
This reverts commit bdd860e3076655519d45bd66936ef7be9b7dda63.

Requested by a game developer.

Cc: 17.0 <mesa-stable@lists.freedesktop.org>
Reviewed-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Reviewed-by: Nicolai Hähnle <nicolai.haehnle@amd.com>
src/gallium/drivers/radeonsi/si_state.h

index 6bb067333f3b71f7b18ff9782eaf0f841e279663..3f08f54a745f2268531c36129c5564d2156e27b3 100644 (file)
@@ -35,7 +35,7 @@
 
 #define SI_MAX_ATTRIBS                 16
 #define SI_NUM_VERTEX_BUFFERS          SI_MAX_ATTRIBS
-#define SI_NUM_SAMPLERS                        24 /* OpenGL textures units per shader */
+#define SI_NUM_SAMPLERS                        32 /* OpenGL textures units per shader */
 #define SI_NUM_CONST_BUFFERS           16
 #define SI_NUM_IMAGES                  16
 #define SI_NUM_SHADER_BUFFERS          16