From: Jason Ekstrand Date: Tue, 22 Aug 2017 04:27:42 +0000 (-0700) Subject: intel/cs: Ignore runtime_check_aads_emit for CS X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=c4c8cba7059bdfa6f9e3924d2b5d9e2633147e58;p=mesa.git intel/cs: Ignore runtime_check_aads_emit for CS It's only set on gen4-5 which clearly don't support compute shaders. Reviewed-by: Iago Toral Quiroga --- diff --git a/src/intel/compiler/brw_fs.cpp b/src/intel/compiler/brw_fs.cpp index 978bc9ecca5..84792e88f62 100644 --- a/src/intel/compiler/brw_fs.cpp +++ b/src/intel/compiler/brw_fs.cpp @@ -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 :