Re: [Mesa-dev] [PATCH] ac/nir: replace SI.buffer.load.dword with amdgcn.buffer.load

2018-02-01 Thread Bas Nieuwenhuizen
I'm surprised it does not do a idxen and swizzling, but with the current code, this is Reviewed-by: Bas Nieuwenhuizen On Thu, Feb 1, 2018 at 4:37 PM, Samuel Pitoiset wrote: > The old one generates useless instructions in there, found while > comparing geometry shaders between RadeonSI and RAD

[Mesa-dev] [PATCH] ac/nir: replace SI.buffer.load.dword with amdgcn.buffer.load

2018-02-01 Thread Samuel Pitoiset
The old one generates useless instructions in there, found while comparing geometry shaders between RadeonSI and RADV. This improves all Vulkan demos that use geometry shaders, +4% for deferredshadows, +9% for viewportarray, +7% for geometryshader on Polaris10. This seems to also improve DOW3 a l