diff options
author | Kenneth Graunke <[email protected]> | 2016-09-24 17:59:55 -0700 |
---|---|---|
committer | Kenneth Graunke <[email protected]> | 2017-01-07 22:22:28 -0800 |
commit | a4fd84ef5f247f50a3683ecdf7f9d801a6e3cf15 (patch) | |
tree | dcf2a26e9a8cde7d6bc77fee2aaf8b655fe11adc /src/compiler/glsl/ast.h | |
parent | 9bb89175e6487186389b69e8ee0b587d38ed8015 (diff) |
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 <[email protected]>
Reviewed-by: Timothy Arceri <[email protected]>
Reviewed-by: Jason Ekstrand <[email protected]>
Diffstat (limited to 'src/compiler/glsl/ast.h')
-rw-r--r-- | src/compiler/glsl/ast.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/compiler/glsl/ast.h b/src/compiler/glsl/ast.h index 0e32c36528e..e3f629e3419 100644 --- a/src/compiler/glsl/ast.h +++ b/src/compiler/glsl/ast.h @@ -704,7 +704,7 @@ struct ast_type_qualifier { ast_layout_expression *local_size[3]; /** Tessellation evaluation shader: vertex spacing (equal, fractional even/odd) */ - GLenum vertex_spacing; + enum gl_tess_spacing vertex_spacing; /** Tessellation evaluation shader: vertex ordering (CW or CCW) */ GLenum ordering; |