compiler: Change shader_info->tes.vertex_order into a ccw boolean.
authorKenneth Graunke <kenneth@whitecape.org>
Tue, 22 Nov 2016 22:43:57 +0000 (14:43 -0800)
committerKenneth Graunke <kenneth@whitecape.org>
Sun, 8 Jan 2017 04:42:32 +0000 (20:42 -0800)
commit9bb89175e6487186389b69e8ee0b587d38ed8015
treee1aa28ac935aac1f5d089ad88bd7b7f26f3d1207
parentfaa1edeeb7bbe9321c79587e592dce812e8caa78
compiler: Change shader_info->tes.vertex_order into a ccw boolean.

The vertex order is either clockwise or counterclockwise.  We can just
store a "ccw" boolean rather than GLenum values.  I don't want to use
GLenums in a Vulkan driver, and even in GL a simple boolean works fine.

Signed-off-by: Kenneth Graunke <kenneth@whitecape.org>
Reviewed-by: Timothy Arceri <timothy.arceri@collabora.com>
Reviewed-by: Jason Ekstrand <jason@jlekstrand.net>
src/compiler/shader_info.h
src/mesa/drivers/dri/i965/brw_tes.c
src/mesa/main/shaderapi.c
src/mesa/state_tracker/st_program.c