intel/cs: Ignore runtime_check_aads_emit for CS
authorJason Ekstrand <jason.ekstrand@intel.com>
Tue, 22 Aug 2017 04:27:42 +0000 (21:27 -0700)
committerJason Ekstrand <jason.ekstrand@intel.com>
Tue, 7 Nov 2017 18:37:52 +0000 (10:37 -0800)
It's only set on gen4-5 which clearly don't support compute shaders.

Reviewed-by: Iago Toral Quiroga <itoral@igalia.com>
src/intel/compiler/brw_fs.cpp

index 978bc9ecca52f73ee47e7d3efb97507c959c9add..84792e88f62ee0741dd49ea3e6e74934aaf9f577 100644 (file)
@@ -6931,8 +6931,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 :