Re: [Mesa-dev] [PATCH] nir: add support for removing redundant stores to copy prop var

2018-11-12 Thread Jason Ekstrand
On Thu, Nov 8, 2018 at 1:39 AM Timothy Arceri wrote: > For example the following type of thing is seen in TCS from > a number of Vulkan and DXVK games: > > vec1 32 ssa_557 = deref_var &oPatch (shader_out float) > vec1 32 ssa_558 = intrinsic load_deref (ssa_557) () > vec1 3

[Mesa-dev] [PATCH] nir: add support for removing redundant stores to copy prop var

2018-11-07 Thread Timothy Arceri
For example the following type of thing is seen in TCS from a number of Vulkan and DXVK games: vec1 32 ssa_557 = deref_var &oPatch (shader_out float) vec1 32 ssa_558 = intrinsic load_deref (ssa_557) () vec1 32 ssa_559 = deref_var &oPatch@42 (shader_out float) vec1 3