Searched refs:valid_enum (Results 1 – 1 of 1) sorted by relevance
394 bool valid_enum = _mesa_is_valid_prim_mode(ctx, mode); in _mesa_valid_prim_mode() local396 if (!valid_enum) { in _mesa_valid_prim_mode()449 valid_enum = (geom_mode == GL_POINTS); in _mesa_valid_prim_mode()454 valid_enum = (geom_mode == GL_LINES); in _mesa_valid_prim_mode()459 valid_enum = (geom_mode == GL_TRIANGLES); in _mesa_valid_prim_mode()464 valid_enum = false; in _mesa_valid_prim_mode()468 valid_enum = (geom_mode == GL_LINES_ADJACENCY); in _mesa_valid_prim_mode()472 valid_enum = (geom_mode == GL_TRIANGLES_ADJACENCY); in _mesa_valid_prim_mode()475 valid_enum = false; in _mesa_valid_prim_mode()478 if (!valid_enum) { in _mesa_valid_prim_mode()