[Mesa-dev] [PATCH 16/44] intel/cs: Ignore runtime_check_aads_emit for CS

Jason Ekstrand jason at jlekstrand.net
Tue Sep 5 15:13:08 UTC 2017


It's only set on gen4-5 which clearly don't support compute shaders.
---
 src/intel/compiler/brw_fs.cpp | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/src/intel/compiler/brw_fs.cpp b/src/intel/compiler/brw_fs.cpp
index 3cab7ff..90d9b22 100644
--- a/src/intel/compiler/brw_fs.cpp
+++ b/src/intel/compiler/brw_fs.cpp
@@ -6862,8 +6862,7 @@ brw_compile_cs(const struct brw_compiler *compiler, void *log_data,
    }
 
    fs_generator g(compiler, log_data, mem_ctx, (void*) key, &prog_data->base,
-                  v8.promoted_constants, v8.runtime_check_aads_emit,
-                  MESA_SHADER_COMPUTE);
+                  v8.promoted_constants, false, MESA_SHADER_COMPUTE);
    if (INTEL_DEBUG & DEBUG_CS) {
       char *name = ralloc_asprintf(mem_ctx, "%s compute shader %s",
                                    shader->info.label ? shader->info.label :
-- 
2.5.0.400.gff86faf



More information about the mesa-dev mailing list