Re: [Mesa-dev] [PATCH v3 05/11] glsl: Extend lowering pass for gl_ClipDistance to support other arrays (v2)

2016-05-09 Thread Ian Romanick
I have a few comments below, but this patch was pretty hard to review because it combines a global rename with functional changes. Please split this into two patches. On 05/08/2016 10:44 PM, Tobias Klausmann wrote: > This will come in handy when we want to lower gl_CullDistance into > gl_CullDist

[Mesa-dev] [PATCH v3 05/11] glsl: Extend lowering pass for gl_ClipDistance to support other arrays (v2)

2016-05-08 Thread Tobias Klausmann
This will come in handy when we want to lower gl_CullDistance into gl_CullDistanceMESA. [airlied: drop separate APIs for clip/cull - just use single API to call both passes.] Signed-off-by: Tobias Klausmann --- src/compiler/glsl/ir_optimization.h | 3 +- src/compiler/glsl/linker.cpp