mesa: Introduce a compiler enum for tessellation spacing.
authorKenneth Graunke <kenneth@whitecape.org>
Sun, 25 Sep 2016 00:59:55 +0000 (17:59 -0700)
committerKenneth Graunke <kenneth@whitecape.org>
Sun, 8 Jan 2017 06:22:28 +0000 (22:22 -0800)
commita4fd84ef5f247f50a3683ecdf7f9d801a6e3cf15
treedcf2a26e9a8cde7d6bc77fee2aaf8b655fe11adc
parent9bb89175e6487186389b69e8ee0b587d38ed8015
mesa: Introduce a compiler enum for tessellation spacing.

It feels weird using GL_* enums in a Vulkan driver.

v2: Fix the TESS_SPACING -> PIPE_TESS_SPACING conversion.

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/glsl/ast.h
src/compiler/glsl/glsl_parser.yy
src/compiler/glsl/glsl_parser_extras.cpp
src/compiler/glsl/linker.cpp
src/compiler/shader_enums.h
src/compiler/shader_info.h
src/mesa/drivers/dri/i965/brw_tcs.c
src/mesa/drivers/dri/i965/brw_tes.c
src/mesa/main/mtypes.h
src/mesa/main/shaderapi.c
src/mesa/state_tracker/st_program.c