<div dir="auto"><div>Hi Jason, you actually dropped max_dispatch_width so you might want to update the commit message.</div><div dir="auto">Michael<br><div class="gmail_extra" dir="auto"><br><div class="gmail_quote">Am 13.10.2017 08:13 schrieb "Jason Ekstrand" <<a href="mailto:jason@jlekstrand.net">jason@jlekstrand.net</a>>:<br type="attribution"><blockquote class="quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">The only things that adjust min_dispatch_width are render target writes<br>
which don't happen in compute shaders so they're pointless.<br>
---<br>
src/intel/compiler/brw_fs.cpp | 6 ++----<br>
1 file changed, 2 insertions(+), 4 deletions(-)<br>
<br>
diff --git a/src/intel/compiler/brw_fs.<wbr>cpp b/src/intel/compiler/brw_fs.<wbr>cpp<br>
index 676496f..1a44d00 100644<br>
--- a/src/intel/compiler/brw_fs.<wbr>cpp<br>
+++ b/src/intel/compiler/brw_fs.<wbr>cpp<br>
@@ -6816,8 +6816,7 @@ brw_compile_cs(const struct brw_compiler *compiler, void *log_data,<br>
NULL, /* Never used in core profile */<br>
shader, 16, shader_time_index);<br>
if (likely(!(INTEL_DEBUG & DEBUG_NO16)) &&<br>
- !fail_msg && v8.max_dispatch_width >= 16 &&<br>
- min_dispatch_width <= 16) {<br>
+ !fail_msg && min_dispatch_width <= 16) {<br>
/* Try a SIMD16 compile */<br>
if (min_dispatch_width <= 8)<br>
v16.import_uniforms(&v8);<br>
@@ -6841,8 +6840,7 @@ brw_compile_cs(const struct brw_compiler *compiler, void *log_data,<br>
fs_visitor v32(compiler, log_data, mem_ctx, key, &prog_data->base,<br>
NULL, /* Never used in core profile */<br>
shader, 32, shader_time_index);<br>
- if (!fail_msg && v8.max_dispatch_width >= 32 &&<br>
- (min_dispatch_width > 16 || (INTEL_DEBUG & DEBUG_DO32))) {<br>
+ if (!fail_msg && (min_dispatch_width > 16 || (INTEL_DEBUG & DEBUG_DO32))) {<br>
/* Try a SIMD32 compile */<br>
if (min_dispatch_width <= 8)<br>
v32.import_uniforms(&v8);<br>
<font color="#888888">--<br>
2.5.0.400.gff86faf<br>
<br>
______________________________<wbr>_________________<br>
mesa-dev mailing list<br>
<a href="mailto:mesa-dev@lists.freedesktop.org">mesa-dev@lists.freedesktop.org</a><br>
<a href="https://lists.freedesktop.org/mailman/listinfo/mesa-dev" rel="noreferrer" target="_blank">https://lists.freedesktop.org/<wbr>mailman/listinfo/mesa-dev</a><br>
</font></blockquote></div><br></div></div></div>