Home
last modified time | relevance | path

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

/external/mesa3d/src/compiler/glsl/
Dglsl_parser_extras.h109 bool is_version(unsigned required_glsl_version, in is_version() function
126 if (!(ARB_arrays_of_arrays_enable || is_version(430, 310))) { in check_arrays_of_arrays_allowed()
216 return ARB_shader_atomic_counters_enable || is_version(420, 310); in has_atomic_counters()
221 return ARB_enhanced_layouts_enable || is_version(440, 0); in has_enhanced_layouts()
226 return ARB_gpu_shader5_enable || is_version(400, 0); in has_explicit_attrib_stream()
231 return ARB_explicit_attrib_location_enable || is_version(330, 300); in has_explicit_attrib_location()
236 return ARB_explicit_uniform_location_enable || is_version(430, 310); in has_explicit_uniform_location()
241 return ARB_uniform_buffer_object_enable || is_version(140, 300); in has_uniform_buffer_objects()
246 return ARB_shader_storage_buffer_object_enable || is_version(430, 310); in has_shader_storage_buffer_objects()
251 return ARB_separate_shader_objects_enable || is_version(410, 310) in has_separate_shader_objects()
[all …]
Dbuiltin_variables.cpp710 if (state->is_version(410, 100)) { in generate_constants()
719 if (state->is_version(0, 300)) { in generate_constants()
747 if ((state->is_version(130, 0) && in generate_constants()
749 state->is_version(420, 300)) { in generate_constants()
759 if (state->is_version(130, 0)) { in generate_constants()
835 if (state->is_version(110, 320)) { in generate_constants()
843 if (state->is_version(420, 310)) { in generate_constants()
857 if (state->is_version(110, 320)) { in generate_constants()
865 if (state->is_version(430, 310) || state->ARB_compute_shader_enable) { in generate_constants()
944 if (state->is_version(440, 310) || 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.ll78 if (yyextra->is_version(allowed_glsl, allowed_glsl_es) \
81 } else if (yyextra->is_version(reserved_glsl, \
98 if (yyextra->is_version(allowed_glsl, allowed_glsl_es) \
102 } else if (yyextra->is_version(reserved_glsl, \
125 if (yyextra->is_version(0, 300)) { \
139 if (yyextra->is_version(0, 300)) { \
184 if (state->is_version(130, 300)) {
266 if (yyextra->is_version(330, 100))
298 if (yyextra->is_version(330, 100))
333 if (yyextra->is_version(330, 100))
[all …]
Dast_to_hir.cpp2309 (state->is_version(120, 300) && in process_array_size()
2730 if (!state->is_version(130, 100)) in is_allowed_invariant()
2955 } else if ((state->is_version(420, 310) || in apply_explicit_binding()
3021 if ((state->is_version(130, 300) || state->EXT_gpu_shader4_enable) in validate_fragment_flat_interpolation_input()
3102 if ((state->is_version(130, 300) || state->EXT_gpu_shader4_enable) in validate_interpolation_qualifier()
3142 if (state->is_version(130, 0) && !state->EXT_gpu_shader4_enable in validate_interpolation_qualifier()
3495 !(state->is_version(420, 310) || state->ARB_shader_image_load_store_enable)) { in apply_image_qualifier_to_variable()
3868 && !state->is_version(420, 0) in apply_layout_qualifier_to_variable()
4080 if (state->is_version(130, 300)) in apply_type_qualifier_to_variable()
4166 if (state->is_version(130, 300) || state->EXT_gpu_shader4_enable) 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()
Dbuiltin_functions.cpp141 return state->is_version(120, 300); in v120()
147 return state->is_version(130, 300); in v130()
153 return state->is_version(130, 0); in v130_desktop()
159 return state->is_version(460, 0); in v460_desktop()
165 return state->is_version(130, 300) && in v130_derivatives_only()
172 return state->is_version(140, 300); in v140_or_es3()
178 return state->is_version(400, 0) && in v400_derivatives_only()
199 state->is_version(0, 300); in texture_external_es3()
215 state->is_version(130, 300) || in lod_exists_in_stage()
229 return state->is_version(140, 320) || in texture_buffer()
[all …]
Dglsl_parser.yy349 if (state->is_version(120, 300) &&
354 } else if (!state->is_version(120, 100)) {
1208 state->is_version(150, 0))) {
1227 state->is_version(420, 0))) {
1392 if ((state->is_version(map[i].required_glsl,
1399 state->is_version(420, 310))) {
1616 !state->is_version(0, 320)) {
1860 if (!state->is_version(400, 320) &&
2052 if (state->is_version(430, 300) && $$.flags.q.in)
2228 !state->is_version(130, 300) ||
Dbuiltin_types.cpp284 if (state->is_version(t->min_gl, t->min_es)) { in _mesa_glsl_initialize_types()
Dast_function.cpp256 if (!state->is_version(440, 0)) { in verify_parameter_modes()
633 if (state->is_version(120, 100) || in generate_call()
Dglsl_parser_extras.cpp355 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"