llvmpipe: fix race between draw and setting fragment shader.
[mesa.git] / src / gallium / drivers / llvmpipe / lp_limits.h
index 569179ecdf49d27d793e9cb86ec06406bd0b0448..8ce15c33028c4fab04199b136ef3b02f0662c5de 100644 (file)
@@ -64,6 +64,7 @@
 #define LP_MAX_HEIGHT (1 << (LP_MAX_TEXTURE_LEVELS - 1))
 #define LP_MAX_WIDTH  (1 << (LP_MAX_TEXTURE_LEVELS - 1))
 
+#define LP_MAX_SAMPLES 4
 
 #define LP_MAX_THREADS 16
 
@@ -95,4 +96,8 @@
  */
 #define LP_MAX_SETUP_VARIANTS 64
 
+/*
+ * Max point size reported. Cap vertex shader point sizes to this.
+ */
+#define LP_MAX_POINT_WIDTH 255.0f
 #endif /* LP_LIMITS_H */