Re: [Mesa-dev] [PATCH 4/5] nir: Make nir_lower_clip_vs optionally work with variables.

2018-11-12 Thread Eric Anholt
Kenneth Graunke writes: > The way nir_lower_clip_vs() works with store_output intrinsics makes a > ton of assumptions about the driver_location field. > > In i965, I'd rather do this lowering early and work with variables. > ir3 and vc4 could probably do that as well, but I'm not sure exactly >

[Mesa-dev] [PATCH 4/5] nir: Make nir_lower_clip_vs optionally work with variables.

2018-11-09 Thread Kenneth Graunke
The way nir_lower_clip_vs() works with store_output intrinsics makes a ton of assumptions about the driver_location field. In i965, I'd rather do this lowering early and work with variables. ir3 and vc4 could probably do that as well, but I'm not sure exactly what paths would need updating, so