summaryrefslogtreecommitdiffstats
path: root/src/mesa/main/mtypes.h
diff options
context:
space:
mode:
authorTimothy Arceri <timothy.arceri@collabora.com>2016-06-22 12:41:27 +1000
committerTimothy Arceri <t_arceri@yahoo.com.au>2016-06-23 11:01:36 +1000
commit24b3be093870a9a77325ac33c8fce97fae143e8e (patch)
tree6686078dd64c5b63512cb875c7c593d7215c8eb8 /src/mesa/main/mtypes.h
parentf3ae370a36c2103ce994865f5c3713377a9d0ae9 (diff)
downloadexternal_mesa3d-24b3be093870a9a77325ac33c8fce97fae143e8e.zip
external_mesa3d-24b3be093870a9a77325ac33c8fce97fae143e8e.tar.gz
external_mesa3d-24b3be093870a9a77325ac33c8fce97fae143e8e.tar.bz2
glsl/mesa: stop duplicating tes layout values
We already store this in gl_shader and gl_program here we remove it from gl_shader_program and just use the values from gl_shader. This will allow us to keep the shader cache restore code as simple as it can be while making it somewhat clearer where these values originate from. V2: remove unnecessary NULL check Reviewed-by: Marek Olšák <marek.olsak@amd.com> Reviewed-by: Iago Toral <itoral@igalia.com>
Diffstat (limited to 'src/mesa/main/mtypes.h')
-rw-r--r--src/mesa/main/mtypes.h7
1 files changed, 0 insertions, 7 deletions
diff --git a/src/mesa/main/mtypes.h b/src/mesa/main/mtypes.h
index e5ae5e6..99fa779 100644
--- a/src/mesa/main/mtypes.h
+++ b/src/mesa/main/mtypes.h
@@ -2726,13 +2726,6 @@ struct gl_shader_program
* Tessellation Evaluation shader state from layout qualifiers.
*/
struct {
- /** GL_TRIANGLES, GL_QUADS or GL_ISOLINES */
- GLenum PrimitiveMode;
- /** GL_EQUAL, GL_FRACTIONAL_ODD or GL_FRACTIONAL_EVEN */
- GLenum Spacing;
- /** GL_CW or GL_CCW */
- GLenum VertexOrder;
- bool PointMode;
/**
* True if gl_ClipDistance is written to. Copied into
* gl_tess_eval_program by _mesa_copy_linked_program_data().