Home
last modified time | relevance | path

Searched refs:glsl_struct_field (Results 1 – 25 of 38) 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 …]
Dlink_uniforms.cpp97 const glsl_struct_field *ifc_member = var->data.from_named_ifc_block ? in process()
117 const glsl_struct_field *named_ifc_member) in recursion()
Dlinker.h195 const glsl_struct_field *named_ifc_member);
Dlinker.cpp1586 glsl_struct_field *fields = new glsl_struct_field[num_fields]; in resize_interface_members()
1618 glsl_struct_field *fields = new glsl_struct_field[num_fields]; in fixup_unnamed_interface_type()
Dlink_varyings.cpp526 glsl_struct_field *field = &type_without_array->fields.structure[i]; in validate_explicit_variable_location()
Dir.cpp1804 glsl_struct_field fields[2] = { in set_sampler()
1805 glsl_struct_field(glsl_type::int_type, "code"), in set_sampler()
1806 glsl_struct_field(type, "texel"), in set_sampler()
Dbuiltin_variables.cpp368 glsl_struct_field fields[14];
1637 const glsl_struct_field *fields = per_vertex_out_type->fields.structure; in generate_varyings()
Dgl_nir_linker.c367 const struct glsl_struct_field *field = in add_shader_variable()
/third_party/mesa3d/src/compiler/glsl/tests/
Dgeneral_ir_test.cpp50 static const glsl_struct_field f[] = { in TEST_F()
51 glsl_struct_field(glsl_type::vec(4), "v") in TEST_F()
78 static const glsl_struct_field f[] = { in TEST_F()
79 glsl_struct_field(glsl_type::vec(4), "v") in TEST_F()
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.h373 struct glsl_struct_field *structure; /**< List of struct fields. */
483 static const glsl_type *get_struct_instance(const glsl_struct_field *fields,
492 static const glsl_type *get_interface_instance(const glsl_struct_field *fields,
1309 glsl_type(const glsl_struct_field *fields, unsigned num_fields,
1314 glsl_type(const glsl_struct_field *fields, unsigned num_fields,
1378 struct glsl_struct_field { struct
1484 glsl_struct_field(const struct glsl_type *_type, in glsl_struct_field() argument
1493 glsl_struct_field(const struct glsl_type *_type, const char *_name) in glsl_struct_field() argument
1500 glsl_struct_field() in glsl_struct_field() function
Dglsl_types.cpp105 glsl_type::glsl_type(const glsl_struct_field *fields, unsigned num_fields, in glsl_type()
128 glsl_struct_field, length); in glsl_type()
137 glsl_type::glsl_type(const glsl_struct_field *fields, unsigned num_fields, in glsl_type()
156 glsl_struct_field, length); in glsl_type()
446 glsl_struct_field *bare_fields = new glsl_struct_field[this->length]; in get_bare_type()
1449 glsl_type::get_struct_instance(const glsl_struct_field *fields, in get_struct_instance()
1488 glsl_type::get_interface_instance(const glsl_struct_field *fields, in get_interface_instance()
2277 glsl_struct_field *fields = new glsl_struct_field[this->length]; in get_explicit_std140_type()
2635 glsl_struct_field *fields = new glsl_struct_field[this->length]; in get_explicit_std430_type()
2746 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 *
214 const struct glsl_type *glsl_struct_type(const struct glsl_struct_field *fields,
217 const struct glsl_type *glsl_interface_type(const struct glsl_struct_field *fields,
Dnir_types.cpp88 const struct glsl_struct_field *
672 glsl_struct_type(const glsl_struct_field *fields, in glsl_struct_type()
680 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/compiler/nir/tests/
Dvars_tests.cpp1332 glsl_struct_field field = glsl_struct_field(); in TEST_F()
1379 glsl_struct_field field = glsl_struct_field(); in TEST_F()
1418 glsl_struct_field field = glsl_struct_field(); in TEST_F()
1462 glsl_struct_field field = glsl_struct_field(); in TEST_F()
1512 glsl_struct_field field = glsl_struct_field(); in TEST_F()
2062 struct glsl_struct_field field; in TEST_F()
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/compiler/nir/
Dnir_lower_uniforms_to_ubo.c155 struct glsl_struct_field field = { in nir_lower_uniforms_to_ubo()
Dnir_lower_atomics_to_ssbo.c250 struct glsl_struct_field field = { in nir_lower_atomics_to_ssbo()
Dnir_opt_memcpy.c79 const struct glsl_struct_field *field = in type_is_tightly_packed()
/third_party/mesa3d/src/gallium/drivers/zink/
Dzink_compiler.c53 struct glsl_struct_field *fields = rzalloc_array(nir, struct glsl_struct_field, 2); in create_vs_pushconst()
70 struct glsl_struct_field *fields = rzalloc_size(nir, 1 * sizeof(struct glsl_struct_field)); in create_cs_pushconst()
1193 struct glsl_struct_field *fields = rzalloc_array(shader, struct glsl_struct_field, 2); in get_bo_var()
1537 struct glsl_struct_field *fields = rzalloc_array(nir, struct glsl_struct_field, nmembers * 2); in rewrite_64bit_type()
1540 const struct glsl_struct_field *f = glsl_get_struct_field_data(type, i); in rewrite_64bit_type()
1582 struct glsl_struct_field fields[8] = {0}; in rewrite_64bit_type()
2258 struct glsl_struct_field *fields = rzalloc_array(shader, struct glsl_struct_field, 2); in unbreak_bos()
3376 struct glsl_struct_field *fields = rzalloc_array(nir, struct glsl_struct_field, 3); in zink_shader_tcs_create()
/third_party/mesa3d/src/microsoft/spirv_to_dxil/
Ddxil_spirv_nir.c58 const struct glsl_struct_field field = {array_type, "arr"}; in add_runtime_data_var()
168 const struct glsl_struct_field field = {array_type, "arr"}; in add_push_constant_var()
/third_party/mesa3d/src/compiler/spirv/
Dvtn_opencl.c799 struct glsl_struct_field *fields = in handle_printf()
800 rzalloc_array(b, struct glsl_struct_field, num_srcs - 1); in handle_printf()
/third_party/mesa3d/src/microsoft/clc/
Dclc_compiler.c414 const struct glsl_struct_field field = { array_type, "arr" }; in add_kernel_inputs_var()
432 const struct glsl_struct_field field = { array_type, "arr" }; in add_work_properties_var()

12