Home
last modified time | relevance | path

Searched refs:is_version (Results 1 – 13 of 13) sorted by relevance

/external/mesa3d/src/compiler/glsl/
Dglsl_parser_extras.h102 bool is_version(unsigned required_glsl_version, in is_version() function
119 if (!(ARB_arrays_of_arrays_enable || is_version(430, 310))) { in check_arrays_of_arrays_allowed()
208 return ARB_shader_atomic_counters_enable || is_version(420, 310); in has_atomic_counters()
213 return ARB_enhanced_layouts_enable || is_version(440, 0); in has_enhanced_layouts()
218 return ARB_gpu_shader5_enable || is_version(400, 0); in has_explicit_attrib_stream()
223 return ARB_explicit_attrib_location_enable || is_version(330, 300); in has_explicit_attrib_location()
228 return ARB_explicit_uniform_location_enable || is_version(430, 310); in has_explicit_uniform_location()
233 return ARB_uniform_buffer_object_enable || is_version(140, 300); in has_uniform_buffer_objects()
238 return ARB_shader_storage_buffer_object_enable || is_version(430, 310); in has_shader_storage_buffer_objects()
243 return ARB_separate_shader_objects_enable || is_version(410, 310) in has_separate_shader_objects()
[all …]
Dbuiltin_variables.cpp444 compatibility(state->compat_shader || !state->is_version(140, 100)), in builtin_variable_generator()
639 if (state->is_version(410, 100)) { in generate_constants()
648 if (state->is_version(0, 300)) { in generate_constants()
676 if ((state->is_version(130, 0) && in generate_constants()
678 state->is_version(420, 300)) { in generate_constants()
688 if (state->is_version(130, 0)) { in generate_constants()
764 if (state->is_version(110, 320)) { in generate_constants()
772 if (state->is_version(420, 310)) { in generate_constants()
786 if (state->is_version(110, 320)) { in generate_constants()
794 if (state->is_version(430, 310) || state->ARB_compute_shader_enable) { in generate_constants()
[all …]
Dast_array_index.cpp253 && !state->is_version(400, 320) in _mesa_ast_array_index_to_hir()
258 && !state->is_version(400, 0) in _mesa_ast_array_index_to_hir()
309 if (!state->is_version(400, 320) && in _mesa_ast_array_index_to_hir()
314 if (state->is_version(130, 300)) in _mesa_ast_array_index_to_hir()
Dglsl_lexer.ll76 if (yyextra->is_version(allowed_glsl, allowed_glsl_es) \
79 } else if (yyextra->is_version(reserved_glsl, \
96 if (yyextra->is_version(allowed_glsl, allowed_glsl_es) \
100 } else if (yyextra->is_version(reserved_glsl, \
123 if (yyextra->is_version(0, 300)) { \
137 if (yyextra->is_version(0, 300)) { \
182 if (state->is_version(130, 300)) {
255 if (yyextra->is_version(330, 100))
279 if (yyextra->is_version(330, 100))
493 if ((yyextra->is_version(140, 300))
[all …]
Dbuiltin_functions.cpp138 return state->is_version(120, 300); in v120()
144 return state->is_version(130, 300); in v130()
150 return state->is_version(130, 0); in v130_desktop()
156 return state->is_version(460, 0); in v460_desktop()
162 return state->is_version(130, 300) && in v130_fs_only()
169 return state->is_version(140, 300); in v140_or_es3()
175 return state->is_version(400, 0) && in v400_fs_only()
204 state->is_version(130, 300) || in lod_exists_in_stage()
217 return state->is_version(140, 320) || in texture_buffer()
238 return state->is_version(330, 300) || in shader_bit_encoding()
[all …]
Dast_to_hir.cpp248 if (!state->is_version(400, 0) && !state->ARB_gpu_shader5_enable in get_implicit_conversion_operation()
313 if (!state->is_version(120, 0)) in apply_implicit_conversion()
2276 (state->is_version(120, 300) && in process_array_size()
2695 if (!state->is_version(130, 0)) in is_allowed_invariant()
2920 } else if ((state->is_version(420, 310) || in apply_explicit_binding()
2986 if (state->is_version(130, 300) in validate_fragment_flat_interpolation_input()
3067 if (state->is_version(130, 300) in validate_interpolation_qualifier()
3105 if (state->is_version(130, 0) in validate_interpolation_qualifier()
3813 && !state->is_version(420, 0) in apply_layout_qualifier_to_variable()
4052 if (state->is_version(130, 300)) in apply_type_qualifier_to_variable()
[all …]
Dir_function.cpp276 if (!state || state->is_version(400, 0) || state->ARB_gpu_shader5_enable || in choose_best_inexact_overload()
Dglsl_parser.yy343 if (state->is_version(120, 300) &&
348 } else if (!state->is_version(120, 100)) {
1185 state->is_version(150, 0))) {
1204 state->is_version(420, 0))) {
1359 if ((state->is_version(map[i].required_glsl,
1542 !state->is_version(0, 320)) {
1730 if (!state->is_version(400, 320) &&
1922 if (state->is_version(430, 300) && $$.flags.q.in)
2093 !state->is_version(130, 300) ||
Dbuiltin_types.cpp283 if (state->is_version(t->min_gl, t->min_es)) { in _mesa_glsl_initialize_types()
Dast_function.cpp221 if (!state->is_version(440, 0)) { in verify_parameter_modes()
532 if (state->is_version(120, 100)) { in generate_call()
Dglsl_parser_extras.cpp341 if (this->is_version(required_glsl_version, required_glsl_es_version)) in check_version()
/external/python/setuptools/setuptools/command/
Degg_info.py178 is_version = isinstance(parsed_version, packaging.version.Version)
180 "%s==%s" if is_version else "%s===%s"
/external/mesa3d/src/compiler/
Dglsl_types.cpp1520 if (state && (state->es_shader || !state->is_version(120, 0))) in can_implicitly_convert_to()
1541 if ((!state || state->is_version(400, 0) || state->ARB_gpu_shader5_enable || in can_implicitly_convert_to()