glsl: remove unused fields in gl_shader

Signed-off-by: Qiang Yu <yuq825@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/30610>
This commit is contained in:
Qiang Yu
2024-08-05 10:27:18 +08:00
parent 7538edf706
commit ea33876fbe
2 changed files with 0 additions and 4 deletions

View File

@@ -1996,7 +1996,6 @@ set_shader_inout_layout(struct gl_shader *shader,
}
break;
case MESA_SHADER_TESS_EVAL:
shader->OES_tessellation_point_size_enable = state->OES_tessellation_point_size_enable || state->EXT_tessellation_point_size_enable;
shader->info.TessEval._PrimitiveMode = TESS_PRIMITIVE_UNSPECIFIED;
if (state->in_qualifier->flags.q.prim_type) {
switch (state->in_qualifier->prim_type) {
@@ -2025,7 +2024,6 @@ set_shader_inout_layout(struct gl_shader *shader,
shader->info.TessEval.PointMode = state->in_qualifier->point_mode;
break;
case MESA_SHADER_GEOMETRY:
shader->OES_geometry_point_size_enable = state->OES_geometry_point_size_enable || state->EXT_geometry_point_size_enable;
shader->info.Geom.VerticesOut = -1;
if (state->out_qualifier->flags.q.max_vertices) {
unsigned qual_max_vertices;

View File

@@ -188,8 +188,6 @@ struct gl_shader
bool EarlyFragmentTests;
bool ARB_fragment_coord_conventions_enable;
bool OES_geometry_point_size_enable;
bool OES_tessellation_point_size_enable;
bool redeclares_gl_fragcoord;
bool uses_gl_fragcoord;