Re: [Mesa-dev] [PATCH 02/13] nir: add load_param

2018-03-02 Thread Karol Herbst
On Fri, Mar 2, 2018 at 7:02 AM, Jason Ekstrand wrote: > On Wed, Feb 28, 2018 at 1:25 PM, Rob Clark wrote: >> >> On Wed, Feb 28, 2018 at 4:16 PM, Eric Anholt wrote: >> > Rob Clark writes: >> > >> >> From: Karol Herbst >> >> >> >> OpenCL kernels have parameters (see pipe_grid_info::input), and s

Re: [Mesa-dev] [PATCH 02/13] nir: add load_param

2018-03-01 Thread Jason Ekstrand
On Wed, Feb 28, 2018 at 1:25 PM, Rob Clark wrote: > On Wed, Feb 28, 2018 at 4:16 PM, Eric Anholt wrote: > > Rob Clark writes: > > > >> From: Karol Herbst > >> > >> OpenCL kernels have parameters (see pipe_grid_info::input), and so we > >> need a way to access them. > >> > >> Signed-off-by: Rob

Re: [Mesa-dev] [PATCH 02/13] nir: add load_param

2018-02-28 Thread Rob Clark
On Wed, Feb 28, 2018 at 4:16 PM, Eric Anholt wrote: > Rob Clark writes: > >> From: Karol Herbst >> >> OpenCL kernels have parameters (see pipe_grid_info::input), and so we >> need a way to access them. >> >> Signed-off-by: Rob Clark >> >> --- >> src/compiler/nir/nir_intrinsics.h | 2 ++ >> sr

Re: [Mesa-dev] [PATCH 02/13] nir: add load_param

2018-02-28 Thread Eric Anholt
Rob Clark writes: > From: Karol Herbst > > OpenCL kernels have parameters (see pipe_grid_info::input), and so we > need a way to access them. > > Signed-off-by: Rob Clark > > --- > src/compiler/nir/nir_intrinsics.h | 2 ++ > src/compiler/nir/nir_lower_io.c | 13 ++--- > 2 files chan

[Mesa-dev] [PATCH 02/13] nir: add load_param

2018-02-28 Thread Rob Clark
From: Karol Herbst OpenCL kernels have parameters (see pipe_grid_info::input), and so we need a way to access them. Signed-off-by: Rob Clark --- src/compiler/nir/nir_intrinsics.h | 2 ++ src/compiler/nir/nir_lower_io.c | 13 ++--- 2 files changed, 12 insertions(+), 3 deletions(-) d