diff options
author | Fabian Bieler <[email protected]> | 2014-03-07 10:19:09 +0100 |
---|---|---|
committer | Marek Olšák <[email protected]> | 2015-07-23 00:59:24 +0200 |
commit | a2af956963b6bc4d29f37485e44c98008d2ef077 (patch) | |
tree | 53c3bba14abcd28e0ba64e2928a52bf6aebfc084 /src/glsl/shader_enums.h | |
parent | df3860a3e3269bfe77562058fd87b39ae2f57fcc (diff) |
mesa: add tessellation shader enums
Reviewed-by: Jordan Justen <[email protected]>
Reviewed-by: Matt Turner <[email protected]>
Reviewed-by: Ian Romanick <[email protected]>
Reviewed-by: Kenneth Graunke <[email protected]>
Diffstat (limited to 'src/glsl/shader_enums.h')
-rw-r--r-- | src/glsl/shader_enums.h | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/src/glsl/shader_enums.h b/src/glsl/shader_enums.h index 79e0f6b5f78..42a30ae8fb9 100644 --- a/src/glsl/shader_enums.h +++ b/src/glsl/shader_enums.h @@ -36,9 +36,11 @@ typedef enum { MESA_SHADER_VERTEX = 0, - MESA_SHADER_GEOMETRY = 1, - MESA_SHADER_FRAGMENT = 2, - MESA_SHADER_COMPUTE = 3, + MESA_SHADER_TESS_CTRL = 1, + MESA_SHADER_TESS_EVAL = 2, + MESA_SHADER_GEOMETRY = 3, + MESA_SHADER_FRAGMENT = 4, + MESA_SHADER_COMPUTE = 5, } gl_shader_stage; #define MESA_SHADER_STAGES (MESA_SHADER_COMPUTE + 1) |