Home
last modified time | relevance | path

Searched refs:glsl_struct_field (Results 1 – 22 of 22) sorted by relevance

/external/mesa3d/src/compiler/glsl/
Dbuiltin_types.cpp54 static const struct glsl_struct_field gl_DepthRangeParameters_fields[] = {
55 glsl_struct_field(glsl_type::float_type, "near"),
56 glsl_struct_field(glsl_type::float_type, "far"),
57 glsl_struct_field(glsl_type::float_type, "diff"),
60 static const struct glsl_struct_field gl_PointParameters_fields[] = {
61 glsl_struct_field(glsl_type::float_type, "size"),
62 glsl_struct_field(glsl_type::float_type, "sizeMin"),
63 glsl_struct_field(glsl_type::float_type, "sizeMax"),
64 glsl_struct_field(glsl_type::float_type, "fadeThresholdSize"),
65 glsl_struct_field(glsl_type::float_type, "distanceConstantAttenuation"),
[all …]
Dlower_buffer_access.h61 const glsl_struct_field **struct_field,
Dlower_buffer_access.cpp70 const struct glsl_struct_field *field = in emit_access()
279 const glsl_struct_field **struct_field, in setup_buffer_access()
Dlinker.h188 const glsl_struct_field *named_ifc_member);
Dlinker.cpp1574 glsl_struct_field *fields = new glsl_struct_field[num_fields]; in resize_interface_members()
1606 glsl_struct_field *fields = new glsl_struct_field[num_fields]; in fixup_unnamed_interface_type()
3879 const struct glsl_struct_field *field = &type->fields.structure[i]; in add_shader_variable()
4176 get_array_size(struct gl_uniform_storage *uni, const glsl_struct_field *field, in get_array_size()
4203 const glsl_type *interface, const glsl_struct_field *field, in get_array_stride()
4289 const glsl_struct_field *field = &interface->fields.structure[i]; in calculate_array_size_and_stride()
Dbuiltin_variables.cpp306 glsl_struct_field fields[11];
1407 const glsl_struct_field *fields = per_vertex_out_type->fields.structure; in generate_varyings()
Dlink_uniforms.cpp91 const glsl_struct_field *ifc_member = var->data.from_named_ifc_block ? in process()
111 const glsl_struct_field *named_ifc_member) in recursion()
Dast_to_hir.cpp7019 glsl_struct_field **fields_ret, in ast_process_struct_or_iface_block_members()
7048 glsl_struct_field *const fields = rzalloc_array(state, glsl_struct_field, in ast_process_struct_or_iface_block_members()
7490 glsl_struct_field *fields; in hir()
7581 apply_memory_qualifiers(ir_variable *var, glsl_struct_field field) in apply_memory_qualifiers()
7720 glsl_struct_field *fields; in hir()
Dlower_ubo_reference.cpp113 const struct glsl_struct_field *struct_field;
Dir_validate.cpp899 const glsl_struct_field *fields = in visit()
Dast_function.cpp1866 const glsl_struct_field *struct_field = in process_record_constructor()
Dlink_varyings.cpp589 glsl_struct_field *field = &type_without_array->fields.structure[i]; in validate_explicit_variable_location()
/external/mesa3d/src/compiler/glsl/tests/
Dgeneral_ir_test.cpp33 static const glsl_struct_field f[] = { in TEST()
34 glsl_struct_field(glsl_type::vec(4), "v") in TEST()
59 static const glsl_struct_field f[] = { in TEST()
60 glsl_struct_field(glsl_type::vec(4), "v") in TEST()
Dvaryings_test.cpp78 static const glsl_struct_field f[] = { in link_varyings()
79 glsl_struct_field(glsl_type::vec(4), "v") in link_varyings()
Darray_refcount_test.cpp476 const glsl_struct_field fields[] = { in TEST_F()
477 glsl_struct_field(array_3_of_int, "i"), in TEST_F()
Dbuiltin_variable_test.cpp331 const glsl_struct_field *const input = in TEST_F()
/external/mesa3d/src/compiler/
Dglsl_types.h204 struct glsl_struct_field *structure; /**< List of struct fields. */
283 static const glsl_type *get_record_instance(const glsl_struct_field *fields,
290 static const glsl_type *get_interface_instance(const glsl_struct_field *fields,
865 glsl_type(const glsl_struct_field *fields, unsigned num_fields,
869 glsl_type(const glsl_struct_field *fields, unsigned num_fields,
929 struct glsl_struct_field { struct
1020 glsl_struct_field(const struct glsl_type *_type, const char *_name) in glsl_struct_field() argument
1032 glsl_struct_field() in glsl_struct_field() argument
Dnir_types.h157 const struct glsl_type *glsl_struct_type(const struct glsl_struct_field *fields,
159 const struct glsl_type *glsl_interface_type(const struct glsl_struct_field *fields,
Dglsl_types.cpp92 glsl_type::glsl_type(const glsl_struct_field *fields, unsigned num_fields, in glsl_type()
109 glsl_struct_field, length); in glsl_type()
118 glsl_type::glsl_type(const glsl_struct_field *fields, unsigned num_fields, in glsl_type()
137 glsl_struct_field, length); in glsl_type()
1103 glsl_type::get_record_instance(const glsl_struct_field *fields, in get_record_instance()
1135 glsl_type::get_interface_instance(const glsl_struct_field *fields, in get_interface_instance()
2156 *s_field_size = sizeof(glsl_struct_field); in get_struct_type_field_and_pointer_sizes()
2158 sizeof(((glsl_struct_field *)0)->type) + in get_struct_type_field_and_pointer_sizes()
2159 sizeof(((glsl_struct_field *)0)->name); in get_struct_type_field_and_pointer_sizes()
2293 glsl_struct_field *fields = in decode_type_from_blob()
[all …]
Dnir_types.cpp375 glsl_struct_type(const glsl_struct_field *fields, in glsl_struct_type()
382 glsl_interface_type(const glsl_struct_field *fields, in glsl_interface_type()
/external/mesa3d/src/compiler/nir/
Dnir_lower_atomics_to_ssbo.c219 struct glsl_struct_field field = { in nir_lower_atomics_to_ssbo()
/external/mesa3d/src/compiler/spirv/
Dspirv_to_nir.c536 struct glsl_struct_field *fields;
1103 NIR_VLA(struct glsl_struct_field, fields, count); in vtn_handle_type()
1107 fields[i] = (struct glsl_struct_field) { in vtn_handle_type()