Re: [Mesa-dev] [PATCH 7/9] i965/fs: Handle VS inputs in the NIR backend.

2015-03-11 Thread Connor Abbott
On Wed, Mar 11, 2015 at 6:28 PM, Jason Ekstrand wrote: > I think I mentioned this at least once before, but I don't think that this > is a good long-term solution. The nir_lower_io function does two things > primarily. 1) It assigns each variable a "device location" and 2) changes > the variable

Re: [Mesa-dev] [PATCH 7/9] i965/fs: Handle VS inputs in the NIR backend.

2015-03-11 Thread Jason Ekstrand
I think I mentioned this at least once before, but I don't think that this is a good long-term solution. The nir_lower_io function does two things primarily. 1) It assigns each variable a "device location" and 2) changes the variable loads to loads with an offset. In the long-term, I think we wa

[Mesa-dev] [PATCH 7/9] i965/fs: Handle VS inputs in the NIR backend.

2015-03-09 Thread Kenneth Graunke
Signed-off-by: Kenneth Graunke --- src/mesa/drivers/dri/i965/brw_fs_nir.cpp | 23 ++- 1 file changed, 22 insertions(+), 1 deletion(-) diff --git a/src/mesa/drivers/dri/i965/brw_fs_nir.cpp b/src/mesa/drivers/dri/i965/brw_fs_nir.cpp index 3baafc4..1734d03 100644 --- a/src/mesa