Home
last modified time | relevance | path

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

12

/third_party/mesa3d/src/compiler/glsl/
Dbuiltin_types.cpp55 static const struct glsl_struct_field gl_DepthRangeParameters_fields[] = {
56 glsl_struct_field(glsl_type::float_type, GLSL_PRECISION_HIGH, "near"),
57 glsl_struct_field(glsl_type::float_type, GLSL_PRECISION_HIGH, "far"),
58 glsl_struct_field(glsl_type::float_type, GLSL_PRECISION_HIGH, "diff"),
61 static const struct glsl_struct_field gl_PointParameters_fields[] = {
62 glsl_struct_field(glsl_type::float_type, "size"),
63 glsl_struct_field(glsl_type::float_type, "sizeMin"),
64 glsl_struct_field(glsl_type::float_type, "sizeMax"),
65 glsl_struct_field(glsl_type::float_type, "fadeThresholdSize"),
66 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.h215 const glsl_struct_field *named_ifc_member);
Dlink_uniforms.cpp129 get_array_size(struct gl_uniform_storage *uni, const glsl_struct_field *field, in get_array_size()
154 const glsl_struct_field *field, char *interface_name, in get_array_stride()
242 const glsl_struct_field *field = &iface->fields.structure[i]; in calculate_array_size_and_stride()
314 const glsl_struct_field *ifc_member = var->data.from_named_ifc_block ? in process()
334 const glsl_struct_field *named_ifc_member) in recursion()
Dgl_nir_linker.c240 const struct glsl_struct_field *field = in add_shader_variable()
Dlinker.cpp1681 glsl_struct_field *fields = new glsl_struct_field[num_fields]; in resize_interface_members()
1713 glsl_struct_field *fields = new glsl_struct_field[num_fields]; in fixup_unnamed_interface_type()
3859 const struct glsl_struct_field *field = &type->fields.structure[i]; in add_shader_variable()
Dbuiltin_variables.cpp367 glsl_struct_field fields[14];
1620 const glsl_struct_field *fields = per_vertex_out_type->fields.structure; in generate_varyings()
/third_party/mesa3d/src/compiler/glsl/tests/
Dgeneral_ir_test.cpp51 static const glsl_struct_field f[] = { in TEST_F()
52 glsl_struct_field(glsl_type::vec(4), "v") in TEST_F()
79 static const glsl_struct_field f[] = { in TEST_F()
80 glsl_struct_field(glsl_type::vec(4), "v") in TEST_F()
Dvaryings_test.cpp91 static const glsl_struct_field f[] = { in SetUp()
92 glsl_struct_field(glsl_type::vec(4), "v") in SetUp()
Darray_refcount_test.cpp484 const glsl_struct_field fields[] = { in TEST_F()
485 glsl_struct_field(array_3_of_int, "i"), in TEST_F()
Dbuiltin_variable_test.cpp335 const glsl_struct_field *const input = in TEST_F()
/third_party/mesa3d/src/compiler/
Dglsl_types.h369 struct glsl_struct_field *structure; /**< List of struct fields. */
475 static const glsl_type *get_struct_instance(const glsl_struct_field *fields,
484 static const glsl_type *get_interface_instance(const glsl_struct_field *fields,
1293 glsl_type(const glsl_struct_field *fields, unsigned num_fields,
1298 glsl_type(const glsl_struct_field *fields, unsigned num_fields,
1362 struct glsl_struct_field { struct
1468 glsl_struct_field(const struct glsl_type *_type, in glsl_struct_field() argument
1477 glsl_struct_field(const struct glsl_type *_type, const char *_name) in glsl_struct_field() argument
1484 glsl_struct_field() in glsl_struct_field() function
Dglsl_types.cpp106 glsl_type::glsl_type(const glsl_struct_field *fields, unsigned num_fields, in glsl_type()
129 glsl_struct_field, length); in glsl_type()
138 glsl_type::glsl_type(const glsl_struct_field *fields, unsigned num_fields, in glsl_type()
157 glsl_struct_field, length); in glsl_type()
447 glsl_struct_field *bare_fields = new glsl_struct_field[this->length]; in get_bare_type()
1338 glsl_type::get_struct_instance(const glsl_struct_field *fields, in get_struct_instance()
1377 glsl_type::get_interface_instance(const glsl_struct_field *fields, in get_interface_instance()
2163 glsl_struct_field *fields = new glsl_struct_field[this->length]; in get_explicit_std140_type()
2521 glsl_struct_field *fields = new glsl_struct_field[this->length]; in get_explicit_std430_type()
2632 struct glsl_struct_field *fields = (struct glsl_struct_field *) in get_explicit_type_for_size_align()
[all …]
Dnir_types.h52 const struct glsl_struct_field *
201 const struct glsl_type *glsl_struct_type(const struct glsl_struct_field *fields,
204 const struct glsl_type *glsl_interface_type(const struct glsl_struct_field *fields,
Dnir_types.cpp87 const struct glsl_struct_field *
602 glsl_struct_type(const glsl_struct_field *fields, in glsl_struct_type()
610 glsl_interface_type(const glsl_struct_field *fields, in glsl_interface_type()
/third_party/mesa3d/docs/relnotes/
D17.2.1.rst132 - glsl: fix glsl_struct_field size calculations for shader cache
154 - glsl: stop adding pointers from glsl_struct_field to the cache
/third_party/mesa3d/src/gallium/drivers/zink/
Dzink_compiler.c46 struct glsl_struct_field *fields = rzalloc_array(nir, struct glsl_struct_field, 2); in create_vs_pushconst()
63 struct glsl_struct_field *fields = rzalloc_size(nir, 1 * sizeof(struct glsl_struct_field)); in create_cs_pushconst()
1011 struct glsl_struct_field *fields = rzalloc_array(shader, struct glsl_struct_field, 2); in unbreak_bos()
1607 struct glsl_struct_field *fields = rzalloc_array(nir, struct glsl_struct_field, 3); in zink_shader_tcs_create()
/third_party/mesa3d/src/compiler/nir/
Dnir_lower_uniforms_to_ubo.c156 struct glsl_struct_field field = { in nir_lower_uniforms_to_ubo()
Dnir_opt_memcpy.c79 const struct glsl_struct_field *field = in type_is_tightly_packed()
Dnir_lower_atomics_to_ssbo.c224 struct glsl_struct_field field = { in nir_lower_atomics_to_ssbo()
/third_party/mesa3d/src/compiler/nir/tests/
Dload_store_vectorizer_tests.cpp1311 glsl_struct_field fields[2] = {glsl_struct_field(glsl_uint_type(), "field0"), in TEST_F()
1312glsl_struct_field(glsl_array_type(glsl_uint_type(), 4, 0), "field1")}; in TEST_F()
1472 glsl_struct_field fields[2] = {glsl_struct_field(glsl_bool_type(), "field0"), in TEST_F()
1473glsl_struct_field(glsl_array_type(glsl_uint_type(), 4, 0), "field1")}; in TEST_F()
1766glsl_struct_field fields[2] = {glsl_struct_field(glsl_array_type(glsl_uint_type(), 4, 0), "field0"… in TEST_F()
1767glsl_struct_field(glsl_array_type(glsl_uint_type(), 4, 0), "field1")}; in TEST_F()
/third_party/mesa3d/src/microsoft/spirv_to_dxil/
Dspirv_to_dxil.c56 const struct glsl_struct_field field = {array_type, "arr"}; in add_runtime_data_var()
/third_party/mesa3d/src/compiler/spirv/
Dvtn_opencl.c798 struct glsl_struct_field *fields = in handle_printf()
799 rzalloc_array(b, struct glsl_struct_field, num_srcs - 1); in handle_printf()
/third_party/mesa3d/src/microsoft/clc/
Dclc_compiler.c415 const struct glsl_struct_field field = { array_type, "arr" }; in add_kernel_inputs_var()
434 const struct glsl_struct_field field = { array_type, "arr" }; in add_work_properties_var()

12