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.h103 bool is_version(unsigned required_glsl_version, in is_version() function
120 if (!(ARB_arrays_of_arrays_enable || is_version(430, 310))) { in check_arrays_of_arrays_allowed()
209 return ARB_shader_atomic_counters_enable || is_version(420, 310); in has_atomic_counters()
214 return ARB_enhanced_layouts_enable || is_version(440, 0); in has_enhanced_layouts()
219 return ARB_gpu_shader5_enable || is_version(400, 0); in has_explicit_attrib_stream()
224 return ARB_explicit_attrib_location_enable || is_version(330, 300); in has_explicit_attrib_location()
229 return ARB_explicit_uniform_location_enable || is_version(430, 310); in has_explicit_uniform_location()
234 return ARB_uniform_buffer_object_enable || is_version(140, 300); in has_uniform_buffer_objects()
239 return ARB_shader_storage_buffer_object_enable || is_version(430, 310); in has_shader_storage_buffer_objects()
244 return ARB_separate_shader_objects_enable || is_version(410, 310) in has_separate_shader_objects()
[all …]
Dbuiltin_variables.cpp446 compatibility(!state->is_version(140, 100)), in builtin_variable_generator()
632 if (state->is_version(410, 100)) { in generate_constants()
641 if (state->is_version(0, 300)) { in generate_constants()
675 if ((state->is_version(130, 0) && in generate_constants()
677 state->is_version(420, 300)) { in generate_constants()
687 if (state->is_version(130, 0)) { in generate_constants()
763 if (state->is_version(110, 320)) { in generate_constants()
771 if (state->is_version(420, 310)) { in generate_constants()
785 if (state->is_version(110, 320)) { in generate_constants()
793 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()
304 if (!state->is_version(400, 320) && in _mesa_ast_array_index_to_hir()
308 if (state->is_version(130, 300)) in _mesa_ast_array_index_to_hir()
Dglsl_lexer.ll74 if (yyextra->is_version(allowed_glsl, allowed_glsl_es) \
77 } else if (yyextra->is_version(reserved_glsl, \
95 if (yyextra->is_version(0, 300)) { \
122 if (state->is_version(130, 300)) {
192 if (yyextra->is_version(330, 100))
216 if (yyextra->is_version(330, 100))
423 if ((yyextra->is_version(140, 300))
481 if (!state->is_version(120, 300) &&
494 if (!yyextra->is_version(400, 0) &&
Dbuiltin_functions.cpp116 return state->is_version(120, 300); in v120()
122 return state->is_version(130, 300); in v130()
128 return state->is_version(130, 0); in v130_desktop()
134 return state->is_version(130, 300) && in v130_fs_only()
141 return state->is_version(140, 300); in v140_or_es3()
147 return state->is_version(400, 0) && in v400_fs_only()
176 state->is_version(130, 300) || in lod_exists_in_stage()
189 return state->is_version(140, 320) || in texture_buffer()
210 return state->is_version(330, 300) || in shader_bit_encoding()
218 return state->is_version(450, 310) || in shader_integer_mix()
[all …]
Dast_to_hir.cpp247 if (!state->is_version(400, 0) && !state->ARB_gpu_shader5_enable in get_implicit_conversion_operation()
292 if (!state->is_version(120, 0)) in apply_implicit_conversion()
2232 (state->is_version(120, 300) && in process_array_size()
2647 if (!state->is_version(130, 0)) in is_allowed_invariant()
2872 } else if ((state->is_version(420, 310) || in apply_explicit_binding()
2928 if (state->is_version(130, 300) in validate_interpolation_qualifier()
2966 if (state->is_version(130, 0) in validate_interpolation_qualifier()
3011 if (state->is_version(130, 300) in validate_interpolation_qualifier()
3600 && !state->is_version(420, 0) in apply_layout_qualifier_to_variable()
3818 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.yy364 if (state->is_version(120, 300) &&
369 } else if (!state->is_version(120, 100)) {
1192 state->is_version(150, 0))) {
1211 state->is_version(420, 0))) {
1305 state->is_version(420, 310)) {
1363 if ((state->is_version(map[i].required_glsl,
1546 !state->is_version(0, 320)) {
1713 if (!state->is_version(400, 320) &&
1905 if (state->is_version(430, 300) && $$.flags.q.in)
2076 !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.cpp217 if (!state->is_version(440, 0)) { in verify_parameter_modes()
518 if (state->is_version(120, 100)) { in generate_call()
Dglsl_parser_extras.cpp328 if (this->is_version(required_glsl_version, required_glsl_es_version)) in check_version()
/external/mesa3d/src/compiler/
Dglsl_types.cpp1385 if (state && (state->es_shader || !state->is_version(120, 0))) in can_implicitly_convert_to()
1406 if ((!state || state->is_version(400, 0) || state->ARB_gpu_shader5_enable || in can_implicitly_convert_to()