<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">On Fri, Oct 27, 2017 at 3:03 AM, Iago Toral <span dir="ltr"><<a href="mailto:itoral@igalia.com" target="_blank">itoral@igalia.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">This should be squashed into the previous commit<span class="im HOEnZb"><br></span></blockquote><div><br></div><div>Oops... Fixed.<br></div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="im HOEnZb">
On Wed, 2017-10-25 at 16:26 -0700, Jason Ekstrand wrote:<br>
</span><div class="HOEnZb"><div class="h5">> With the advent of SPIR-V subgroup operations, compute shaders will<br>
> have<br>
> to be slightly different depending on the SIMD size at which they<br>
> execute.  In order to allow us to do dispatch-width specific things<br>
> in<br>
> NIR, we re-run the final NIR stages for each sIMD width.<br>
><br>
> As a side-effect of this change, we start using ralloc on fs_visitor<br>
> so<br>
> we need to add DECLARE_RALLOC_OPERATORS to fs_visitor.<br>
> ---<br>
>  src/intel/compiler/brw_fs.h | 2 +-<br>
>  1 file changed, 1 insertion(+), 1 deletion(-)<br>
><br>
> diff --git a/src/intel/compiler/brw_fs.h<br>
> b/src/intel/compiler/brw_fs.h<br>
> index d3ab385..9ff06b6 100644<br>
> --- a/src/intel/compiler/brw_fs.h<br>
> +++ b/src/intel/compiler/brw_fs.h<br>
> @@ -60,7 +60,7 @@ offset(const fs_reg &reg, const brw::fs_builder<br>
> &bld, unsigned delta)<br>
>  class fs_visitor : public backend_shader<br>
>  {<br>
>  public:<br>
> -   DECLARE_RALLOC_CXX_<wbr>OPERATORS(fs_reg)<br>
> +   DECLARE_RALLOC_CXX_<wbr>OPERATORS(fs_visitor)<br>
>  <br>
>     fs_visitor(const struct brw_compiler *compiler, void *log_data,<br>
>                void *mem_ctx,<br>
</div></div></blockquote></div><br></div></div>