Home
last modified time | relevance | path

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

/third_party/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.cpp750 if (state->is_version(410, 100)) { in generate_constants()
759 if (state->is_version(0, 300)) { in generate_constants()
781 if (compatibility || !state->is_version(420, 100)) { in generate_constants()
789 if ((state->is_version(130, 0) && in generate_constants()
791 state->is_version(420, 300)) { in generate_constants()
801 if (state->is_version(130, 0)) { in generate_constants()
877 if (state->is_version(110, 320)) { in generate_constants()
885 if (state->is_version(420, 310)) { in generate_constants()
899 if (state->is_version(110, 320)) { in generate_constants()
907 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.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, \
126 if (yyextra->is_version(reserved_glsl, reserved_glsl_es) && \
141 if (yyextra->is_version(0, 300)) { \
186 if (state->is_version(130, 300)) {
268 if (yyextra->is_version(330, 100))
300 if (yyextra->is_version(330, 100))
335 if (yyextra->is_version(330, 100))
[all …]
Dast_to_hir.cpp2360 (state->is_version(120, 300) && in process_array_size()
2781 if (!state->is_version(130, 100)) in is_allowed_invariant()
3033 } else if ((state->is_version(420, 310) || in apply_explicit_binding()
3099 if ((state->is_version(130, 300) || state->EXT_gpu_shader4_enable) in validate_fragment_flat_interpolation_input()
3180 if ((state->is_version(130, 300) || state->EXT_gpu_shader4_enable) in validate_interpolation_qualifier()
3220 if (state->is_version(130, 0) && !state->EXT_gpu_shader4_enable in validate_interpolation_qualifier()
3573 !(state->is_version(420, 310) || state->ARB_shader_image_load_store_enable)) { in apply_image_qualifier_to_variable()
3924 && !state->is_version(420, 0) in apply_layout_qualifier_to_variable()
4136 if (state->is_version(130, 300)) in apply_type_qualifier_to_variable()
4231 if (state->is_version(130, 300) || state->EXT_gpu_shader4_enable) in apply_type_qualifier_to_variable()
[all …]
Dglsl_parser.yy348 if (state->is_version(120, 300) &&
353 } else if (!state->is_version(120, 100)) {
1207 state->is_version(150, 0))) {
1226 state->is_version(420, 0))) {
1391 if ((state->is_version(map[i].required_glsl,
1398 state->is_version(420, 310))) {
1615 !state->is_version(0, 320)) {
1859 if (!state->is_version(400, 320) &&
2051 if (state->is_version(420, 300) && $$.flags.q.in)
2227 !state->is_version(130, 300) ||
Dir_function.cpp277 if (!state || state->is_version(400, 0) || state->ARB_gpu_shader5_enable || in choose_best_inexact_overload()
Dbuiltin_functions.cpp138 return state->compat_shader || !state->is_version(420, 0); in deprecated_texture()
169 return state->is_version(120, 300); in v120()
175 return state->is_version(130, 300); in v130()
181 return state->is_version(130, 0); in v130_desktop()
187 return state->is_version(460, 0); in v460_desktop()
193 return state->is_version(130, 300) && in v130_derivatives_only()
200 return state->is_version(140, 300); in v140_or_es3()
206 return state->is_version(400, 0) && in v400_derivatives_only()
227 state->is_version(0, 300); in texture_external_es3()
243 state->is_version(130, 300) || in lod_exists_in_stage()
[all …]
Dbuiltin_types.cpp284 if (state->is_version(t->min_gl, t->min_es)) { in _mesa_glsl_initialize_types()
Dast_function.cpp257 if (!state->is_version(440, 0)) { in verify_parameter_modes()
634 if (state->is_version(120, 100) || in generate_call()
Dglsl_parser_extras.cpp361 if (this->is_version(required_glsl_version, required_glsl_es_version)) in check_version()
/third_party/rust/crates/nom/benchmarks/benches/
Dhttp.rs66 fn is_version(c: u8) -> bool { in is_version() function
83 let (input, version) = take_while1(is_version)(input)?; in http_version()
/third_party/rust/crates/nom/doc/
Dmaking_a_new_parser_from_scratch.md106 let is_version = |c| c >= b'0' && c <= b'9' || c == b'.';
108 let version = take_while1(is_version);