summaryrefslogtreecommitdiff
path: root/src/gallium/auxiliary/tgsi/exec/tgsi_exec.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/gallium/auxiliary/tgsi/exec/tgsi_exec.h')
-rw-r--r--src/gallium/auxiliary/tgsi/exec/tgsi_exec.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/gallium/auxiliary/tgsi/exec/tgsi_exec.h b/src/gallium/auxiliary/tgsi/exec/tgsi_exec.h
index 19bd78df3d..ea182bc454 100644
--- a/src/gallium/auxiliary/tgsi/exec/tgsi_exec.h
+++ b/src/gallium/auxiliary/tgsi/exec/tgsi_exec.h
@@ -34,6 +34,8 @@
extern "C" {
#endif
+#define MAX_LABELS 1024
+
#define NUM_CHANNELS 4 /* R,G,B,A */
#define QUAD_SIZE 4 /* 4 pixel/quad */
@@ -93,7 +95,7 @@ struct tgsi_sampler
*/
struct tgsi_exec_labels
{
- unsigned labels[128][2];
+ unsigned labels[MAX_LABELS][2];
unsigned count;
};