Re: [Mesa-dev] [RFC PATCH 1/4] radv: gather more info about push constants

2019-01-28 Thread Samuel Pitoiset
On 1/28/19 5:58 PM, Bas Nieuwenhuizen wrote: On Fri, Jan 25, 2019 at 5:27 PM Samuel Pitoiset wrote: This is needed in order to inline some push constants when possible. This also adds a new helper for initializing the pass. Signed-off-by: Samuel Pitoiset ---

Re: [Mesa-dev] [RFC PATCH 1/4] radv: gather more info about push constants

2019-01-28 Thread Bas Nieuwenhuizen
On Fri, Jan 25, 2019 at 5:27 PM Samuel Pitoiset wrote: > > This is needed in order to inline some push constants when possible. > This also adds a new helper for initializing the pass. > > Signed-off-by: Samuel Pitoiset > --- > src/amd/vulkan/radv_nir_to_llvm.c | 2 ++ >

[Mesa-dev] [RFC PATCH 1/4] radv: gather more info about push constants

2019-01-25 Thread Samuel Pitoiset
This is needed in order to inline some push constants when possible. This also adds a new helper for initializing the pass. Signed-off-by: Samuel Pitoiset --- src/amd/vulkan/radv_nir_to_llvm.c | 2 ++ src/amd/vulkan/radv_private.h | 2 ++ src/amd/vulkan/radv_shader.h | 4