[Mesa-dev] [PATCH v3 11/14] squash i965: Don't lower the CS derived variable in the GLSL compiler

Jordan Justen jordan.l.justen at intel.com
Sun May 29 22:38:47 UTC 2016


We will add a more compact lowering support in i965 nir code for
gl_LocalInvocationIndex.

For gl_GlobalInvocationID, we will now rely on nir lowering.

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 e7625a1..2504dce 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