From: Francisco Jerez <curroje...@riseup.net> And init blorp blit shader info name.
Change-Id: I8e835ae618338f85f0e11a0c44f6e903fc9c96ee --- src/intel/blorp/blorp_blit.c | 1 + src/intel/compiler/brw_fs.cpp | 4 +++- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/src/intel/blorp/blorp_blit.c b/src/intel/blorp/blorp_blit.c index 0757db0..fa02ac2 100644 --- a/src/intel/blorp/blorp_blit.c +++ b/src/intel/blorp/blorp_blit.c @@ -1121,6 +1121,7 @@ brw_blorp_build_nir_shader(struct blorp_context *blorp, void *mem_ctx, nir_builder b; nir_builder_init_simple_shader(&b, mem_ctx, MESA_SHADER_FRAGMENT, NULL); + b.shader->info->name = ralloc_strdup(b.shader, "BLORP-blit"); struct brw_blorp_blit_vars v; brw_blorp_blit_vars_init(&b, &v, key); diff --git a/src/intel/compiler/brw_fs.cpp b/src/intel/compiler/brw_fs.cpp index 175dbd5..f2763ff 100644 --- a/src/intel/compiler/brw_fs.cpp +++ b/src/intel/compiler/brw_fs.cpp @@ -7169,7 +7169,9 @@ brw_compile_fs(const struct brw_compiler *compiler, void *log_data, } if (v8.max_dispatch_width >= 32 && !use_rep_send && - (INTEL_DEBUG & DEBUG_DO32)) { + compiler->devinfo->gen >= 6 && + (INTEL_DEBUG & DEBUG_DO32 || + strncmp(src_shader->info->name, "BLORP", 5) == 0)) { /* Try a SIMD32 compile */ fs_visitor v32(compiler, log_data, mem_ctx, key, &prog_data->base, prog, shader, 32, -- 2.7.4 _______________________________________________ mesa-dev mailing list mesa-dev@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/mesa-dev