Re: [Mesa-dev] [PATCH v2 3/5] st/nine: set the MUL_ZERO_WINS flag when supported

2017-01-20 Thread Ilia Mirkin
Thanks! In practice, on nv50, it checks the vertex shader for the flag, and on nvc0 it's per-stage (since they killed the global override on kepler+). On Fri, Jan 20, 2017 at 5:48 PM, Axel Davy wrote: > With this patch, there is one case where we hit the "undefined case" of the > spec (mismatch

Re: [Mesa-dev] [PATCH v2 3/5] st/nine: set the MUL_ZERO_WINS flag when supported

2017-01-20 Thread Axel Davy
With this patch, there is one case where we hit the "undefined case" of the spec (mismatch between different shaders): With streamout we use a dummy pixel created by utils instead of nine_shader. As we use software renderers for the feature doing the streamout, I guess that's ok for now. Tha

[Mesa-dev] [PATCH v2 3/5] st/nine: set the MUL_ZERO_WINS flag when supported

2017-01-16 Thread Ilia Mirkin
Signed-off-by: Ilia Mirkin --- v1 -> v2: make conditional on the cap being there src/gallium/state_trackers/nine/nine_shader.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/gallium/state_trackers/nine/nine_shader.c b/src/gallium/state_trackers/nine/nine_shader.c index 0a75c07..95b