[Mesa-dev] [PATCH 03/11] i965: Use nir to lower cs-derived variables

Jordan Justen jordan.l.justen at intel.com
Tue May 24 08:37:48 UTC 2016


We added this support into nir 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>
---
 src/mesa/drivers/dri/i965/brw_compiler.c | 2 --
 1 file changed, 2 deletions(-)

diff --git a/src/mesa/drivers/dri/i965/brw_compiler.c b/src/mesa/drivers/dri/i965/brw_compiler.c
index c3a192d..82131db 100644
--- a/src/mesa/drivers/dri/i965/brw_compiler.c
+++ b/src/mesa/drivers/dri/i965/brw_compiler.c
@@ -199,8 +199,6 @@ brw_compiler_create(void *mem_ctx, const struct brw_device_info *devinfo)
 
    compiler->glsl_compiler_options[MESA_SHADER_COMPUTE]
       .LowerShaderSharedVariables = true;
-   compiler->glsl_compiler_options[MESA_SHADER_COMPUTE]
-      .LowerCsDerivedVariables = true;
 
    return compiler;
 }
-- 
2.8.1



More information about the mesa-dev mailing list