Re: [Mesa-dev] [PATCH 3/3] nir: Define system values for vc4's blending-lowering arguments.

2016-08-19 Thread Kenneth Graunke
On Saturday, August 6, 2016 12:28:38 AM PDT Eric Anholt wrote: > In the GLSL-to-NIR conversion of VC4, I had a bit of trouble with what I > was calling the "state uniforms" that I was putting into the NIR fighting > with its other lowering passes. Instead of using magic uniform base > numbers in t

[Mesa-dev] [PATCH 3/3] nir: Define system values for vc4's blending-lowering arguments.

2016-08-06 Thread Eric Anholt
In the GLSL-to-NIR conversion of VC4, I had a bit of trouble with what I was calling the "state uniforms" that I was putting into the NIR fighting with its other lowering passes. Instead of using magic uniform base numbers in the backend, follow the lead of load_user_clip_plane and just define sys