Home
last modified time | relevance | path

Searched refs:interface_type (Results 1 – 25 of 30) sorted by relevance

12

/third_party/mesa3d/src/compiler/glsl/
Dgl_nir_linker.c176 (glsl_get_ifc_packing(var->interface_type) != in can_remove_uniform()
224 const struct glsl_type *interface_type, in create_shader_variable() argument
288 out->interface_type = interface_type; in create_shader_variable()
311 const struct glsl_type *interface_type = var->interface_type; in add_shader_variable() local
315 const char *interface_name = glsl_get_type_name(interface_type); in add_shader_variable()
317 if (glsl_type_is_array(interface_type)) { in add_shader_variable()
343 glsl_get_type_name(glsl_get_array_element(interface_type)); in add_shader_variable()
428 create_shader_variable(shProg, var, name, type, interface_type, in add_shader_variable()
Dir.h440 this->interface_type != NULL; in is_in_buffer_block()
449 this->interface_type != NULL; in is_in_shader_storage_block()
473 return this->type->without_array() == this->interface_type; in is_interface_instance()
492 assert(this->interface_type == NULL); in init_interface_type()
493 this->interface_type = type; in init_interface_type()
514 assert(this->interface_type->length == type->length); in change_interface_type()
516 this->interface_type = type; in change_interface_type()
534 for (unsigned i = 0; i < this->interface_type->length; i++) in reinit_interface_type()
540 this->interface_type = NULL; in reinit_interface_type()
546 return this->interface_type; in get_interface_type()
[all …]
Dir_clone.cpp49 rzalloc_array(var, int, this->interface_type->length); in clone()
51 this->interface_type->length * sizeof(unsigned)); in clone()
69 var->interface_type = this->interface_type; in clone()
Dgl_nir_link_uniforms.c1160 glsl_get_internal_ifc_packing(state->current_var->interface_type, in enter_record()
1183 glsl_get_internal_ifc_packing(state->current_var->interface_type, in leave_record()
1424 glsl_get_internal_ifc_packing(state->current_var->interface_type, in nir_link_uniform()
1452 glsl_without_array(state->current_var->type) == state->current_var->interface_type && in nir_link_uniform()
1456 glsl_get_type_name(state->current_var->interface_type); in nir_link_uniform()
1478 glsl_get_internal_ifc_packing(state->current_var->interface_type, in nir_link_uniform()
1584 glsl_without_array(type) == var->interface_type) { in gl_nir_link_uniforms()
1677 ((!prog->data->spirv && glsl_without_array(type) == var->interface_type) || in gl_nir_link_uniforms()
1678 (prog->data->spirv && type == var->interface_type))) { in gl_nir_link_uniforms()
1707 glsl_without_array(state.current_var->type) == state.current_var->interface_type && in gl_nir_link_uniforms()
[all …]
Dgl_nir_lower_buffers.c78 glsl_get_type_name(deref->var->interface_type), in get_block_array_index()
145 const char *block_name = glsl_get_type_name(var->interface_type); in get_block_index_offset()
Dgl_nir_link_varyings.c164 type = var->interface_type; in process_xfb_layout_qualifiers()
1874 } else if (input_var->interface_type != NULL) { in populate_consumer_input_sets()
1877 glsl_get_type_name(glsl_without_array(input_var->interface_type)), in populate_consumer_input_sets()
1906 } else if (output_var->interface_type != NULL) { in get_matching_input()
1909 glsl_get_type_name(glsl_without_array(output_var->interface_type)), in get_matching_input()
2419 output_var->interface_type : output_var->type; in assign_initial_varying_locations()
Dserialize.cpp789 sizeof(var->interface_type) + in get_shader_var_and_pointer_sizes()
813 encode_type_to_blob(metadata, var->interface_type); in write_program_resource_data()
926 var->interface_type = decode_type_from_blob(metadata); in read_program_resource_data()
Dglsl_to_nir.cpp613 var->interface_type = ir->get_interface_type(); in visit()
620 var->interface_type = explicit_ifc_type; in visit()
Dast_to_hir.cpp7951 const glsl_type *interface_type = v->get_interface_type(); in is_unsized_array_last_element() local
7952 int length = interface_type->length; in is_unsized_array_last_element()
7957 if (strcmp(interface_type->fields.structure[length-1].name, v->name) == 0) in is_unsized_array_last_element()
/third_party/mesa3d/src/compiler/nir/
Dnir_split_per_member_structs.c96 if (var->interface_type) { in split_variable()
97 members[i]->interface_type = in split_variable()
98 glsl_get_struct_field(var->interface_type, i); in split_variable()
Dnir_lower_uniforms_to_ubo.c140 if (glsl_without_array(var->type) == var->interface_type && in nir_lower_uniforms_to_ubo()
160 ubo->interface_type = in nir_lower_uniforms_to_ubo()
Dnir_gather_xfb_info.c233 bool is_array_block = var->interface_type != NULL && in nir_gather_xfb_info_with_varyings()
235 glsl_without_array(var->type) == var->interface_type; in nir_gather_xfb_info_with_varyings()
242 assert(glsl_type_is_struct_or_ifc(var->interface_type)); in nir_gather_xfb_info_with_varyings()
245 const struct glsl_type *itype = var->interface_type; in nir_gather_xfb_info_with_varyings()
Dnir_serialize.c245 flags.u.has_interface_type = !!(var->interface_type); in write_variable()
248 var->interface_type && var->interface_type == ctx->last_interface_type; in write_variable()
297 if (var->interface_type && !flags.u.interface_type_same_as_last) { in write_variable()
298 encode_type_to_blob(ctx->blob, var->interface_type); in write_variable()
299 ctx->last_interface_type = var->interface_type; in write_variable()
358 var->interface_type = ctx->last_interface_type; in read_variable()
360 var->interface_type = decode_type_from_blob(ctx->blob); in read_variable()
361 ctx->last_interface_type = var->interface_type; in read_variable()
Dnir_lower_atomics_to_ssbo.c256 ssbo->interface_type = in nir_lower_atomics_to_ssbo()
Dnir_clone.c169 nvar->interface_type = var->interface_type; in nir_variable_clone()
Dnir_gather_info.c941 if (var->data.bindless || var->interface_type) in nir_shader_gather_info()
Dnir.h761 const struct glsl_type *interface_type; member
5613 var->interface_type != NULL); in nir_variable_is_in_ubo()
5620 var->interface_type != NULL); in nir_variable_is_in_ssbo()
/third_party/mesa3d/src/compiler/spirv/
Dvtn_variables.c1488 struct vtn_type *interface_type, in vtn_storage_class_to_mode() argument
1496 if (!interface_type || interface_type->block) { in vtn_storage_class_to_mode()
1499 } else if (interface_type->buffer_block) { in vtn_storage_class_to_mode()
1521 if (interface_type) in vtn_storage_class_to_mode()
1522 interface_type = vtn_type_without_array(interface_type); in vtn_storage_class_to_mode()
1524 if (interface_type && in vtn_storage_class_to_mode()
1525 interface_type->base_type == vtn_base_type_image && in vtn_storage_class_to_mode()
1526 glsl_type_is_image(interface_type->glsl_image)) { in vtn_storage_class_to_mode()
1537 assert(interface_type != NULL); in vtn_storage_class_to_mode()
1538 if (interface_type->base_type == vtn_base_type_accel_struct) { in vtn_storage_class_to_mode()
[all …]
Dvtn_private.h1012 struct vtn_type *interface_type,
/third_party/mesa3d/src/gallium/drivers/zink/
Dzink_compiler.c2234 …const struct glsl_type *interface_type = var->interface_type ? glsl_without_array(var->interface_t… in unbreak_bos() local
2235 if (interface_type) { in unbreak_bos()
2236 unsigned block_size = glsl_get_explicit_size(interface_type, true); in unbreak_bos()
2247 if (interface_type) { in unbreak_bos()
2248 …if (glsl_type_is_unsized_array(glsl_get_struct_field(interface_type, glsl_get_length(interface_typ… in unbreak_bos()
2267 var->interface_type = var->type; in unbreak_bos()
2284 var->interface_type = var->type; in unbreak_bos()
2303 var->interface_type = var->type; in unbreak_bos()
/third_party/mesa3d/src/mesa/main/
Dshader_types.h950 const struct glsl_type *interface_type; member
Dshader_query.cpp2009 const glsl_type *consumer_interface_type = consumer_var->interface_type; in validate_io()
2011 const glsl_type *producer_interface_type = producer_var->interface_type; in validate_io()
/third_party/mesa3d/src/gallium/drivers/d3d12/
Dd3d12_nir_passes.c648 ubo->interface_type = in d3d12_lower_state_vars()
/third_party/gstreamer/gstreamer/gst/
Dgstbin.c4456 GType interface_type = (GType) g_value_get_pointer (interface); in compare_interface() local
4459 if (G_TYPE_CHECK_INSTANCE_TYPE (element, interface_type)) { in compare_interface()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/BinaryFormat/
DDwarf.def177 HANDLE_DW_TAG(0x0038, interface_type, 3, DWARF, DW_KIND_TYPE)

12