[Mesa-dev] [PATCH 5/5] i965: enable STD430 packing by default on IVB+
Timothy Arceri
tarceri at itsqueeze.com
Mon Jul 24 03:33:00 UTC 2017
---
src/mesa/drivers/dri/i965/brw_context.c | 6 ++++++
1 file changed, 6 insertions(+)
diff --git a/src/mesa/drivers/dri/i965/brw_context.c b/src/mesa/drivers/dri/i965/brw_context.c
index d0b22d4..426adfa 100644
--- a/src/mesa/drivers/dri/i965/brw_context.c
+++ b/src/mesa/drivers/dri/i965/brw_context.c
@@ -675,6 +675,12 @@ brw_initialize_context_constants(struct brw_context *brw)
/* OES_primitive_bounding_box */
ctx->Const.NoPrimitiveBoundingBoxOutput = true;
+
+ /* TODO: we should be able to use STD430 packing by default on all hardware
+ * but some CTS tests currently fail on SNB when this is enabled.
+ */
+ if (brw->gen >= 7)
+ ctx->Const.UseSTD430AsDefaultPacking = true;
}
static void
--
2.9.4
More information about the mesa-dev
mailing list