Re: [Mesa-dev] [PATCH] gtn: Trim out unused VS input variables.

2016-08-19 Thread Kenneth Graunke
On Friday, August 19, 2016 6:38:57 PM PDT Eric Anholt wrote: > If we're going to skip setting up vertex input data in them, we should > probably not leave them as vertex inputs with a driver_location that > happens to alias to something else. > > Fixes a regression in glsl-mat-attribute on vc4 whe

Re: [Mesa-dev] [PATCH] gtn: Trim out unused VS input variables.

2016-08-19 Thread Kenneth Graunke
On Friday, August 19, 2016 6:38:57 PM PDT Eric Anholt wrote: > If we're going to skip setting up vertex input data in them, we should > probably not leave them as vertex inputs with a driver_location that > happens to alias to something else. > > Fixes a regression in glsl-mat-attribute on vc4 whe

[Mesa-dev] [PATCH] gtn: Trim out unused VS input variables.

2016-08-19 Thread Eric Anholt
If we're going to skip setting up vertex input data in them, we should probably not leave them as vertex inputs with a driver_location that happens to alias to something else. Fixes a regression in glsl-mat-attribute on vc4 when enabling GTN. --- src/mesa/state_tracker/st_glsl_to_nir.cpp | 27 +++