[Mesa-dev] [PATCH v2 10/13] squash i965: Use nir to lower cs-derived variables

Jordan Justen jordan.l.justen at intel.com
Fri May 27 18:24:35 UTC 2016


We added this support into nir a while ago in
a9e6213edd757980475167331bda15c3970a538d for Mesa's Intel vulkan
driver as part of the SPIR-V support, so we can use it for the i965
driver as well.

Signed-off-by: Jordan Justen <jordan.l.justen at intel.com>
Reviewed-by: Kenneth Graunke <kenneth at whitecape.org>
---
 src/mesa/drivers/dri/i965/brw_context.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/src/mesa/drivers/dri/i965/brw_context.c b/src/mesa/drivers/dri/i965/brw_context.c
index 1477c8b..552e5ec 100644
--- a/src/mesa/drivers/dri/i965/brw_context.c
+++ b/src/mesa/drivers/dri/i965/brw_context.c
@@ -565,7 +565,6 @@ brw_initialize_context_constants(struct brw_context *brw)
       ctx->Const.MaxClipPlanes = 8;
 
    ctx->Const.LowerTessLevel = true;
-   ctx->Const.LowerCsDerivedVariables = true;
    ctx->Const.PrimitiveRestartForPatches = true;
 
    ctx->Const.Program[MESA_SHADER_VERTEX].MaxNativeInstructions = 16 * 1024;
-- 
2.8.1



More information about the mesa-dev mailing list