nvc0/ir: return 0 for gl_TessCoord.z for non-triangles modes
authorIlia Mirkin <imirkin@alum.mit.edu>
Sat, 21 May 2016 19:41:03 +0000 (15:41 -0400)
committerIlia Mirkin <imirkin@alum.mit.edu>
Sun, 22 May 2016 15:58:22 +0000 (11:58 -0400)
commit035b1097db339fb605964da62d01553a2bc25061
tree6536d63290f0e570acf05b8d5223f5f975c7ffb1
parentbdc9c20df08d724b1eb3d507660f71ff47b9fc7b
nvc0/ir: return 0 for gl_TessCoord.z for non-triangles modes

Signed-off-by: Ilia Mirkin <imirkin@alum.mit.edu>
Reviewed-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Cc: "11.1 11.2" <mesa-stable@lists.freedesktop.org>
src/gallium/drivers/nouveau/codegen/nv50_ir_lowering_nvc0.cpp