Re: [Mesa-dev] [PATCH] anv,i965: Move CS shared lowering into anv

2017-08-23 Thread Jordan Justen
Reviewed-by: Jordan Justen On 2017-08-23 14:00:29, Jason Ekstrand wrote: > Right now, OpenGL uses the GLSL lowering for shared variables and anv > uses NIR to lower them. For a long time, we've done this weird thing > where we do the NIR lowering unconditionally and then add the SLM sizes > from

[Mesa-dev] [PATCH] anv,i965: Move CS shared lowering into anv

2017-08-23 Thread Jason Ekstrand
Right now, OpenGL uses the GLSL lowering for shared variables and anv uses NIR to lower them. For a long time, we've done this weird thing where we do the NIR lowering unconditionally and then add the SLM sizes from the two together. This works because one of them will always be 0 but it's a bit