[Mesa-dev] [PATCH 3/4] r600g: Return PIPE_PACKING_CONSTRAINT_NO_MIXED_INTERPOLATION to varpack query

Vincent Lejeune vljn at ovi.com
Fri Feb 24 11:11:55 PST 2012


---
 src/gallium/drivers/r600/r600_pipe.c |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)

diff --git a/src/gallium/drivers/r600/r600_pipe.c b/src/gallium/drivers/r600/r600_pipe.c
index 3d35ed2..abb2159 100644
--- a/src/gallium/drivers/r600/r600_pipe.c
+++ b/src/gallium/drivers/r600/r600_pipe.c
@@ -49,6 +49,7 @@
 #include "r600_pipe.h"
 #include "r600_hw_context_priv.h"
 
+
 /*
  * pipe_context
  */
@@ -527,6 +528,8 @@ static int r600_get_shader_param(struct pipe_screen* pscreen, unsigned shader, e
 		return 16;
 	case PIPE_SHADER_CAP_OUTPUT_READ:
 		return 1;
+	case PIPE_SHADER_CAP_VARYINGS_PACKING_CONSTRAINTS:
+            return PIPE_PACKING_CONSTRAINT_NO_MIXED_INTERPOLATION;
 	}
 	return 0;
 }
-- 
1.7.7



More information about the mesa-dev mailing list