Home
last modified time | relevance | path

Searched refs:interface_type (Results 1 - 25 of 26) sorted by relevance

12

/third_party/mesa3d/src/compiler/glsl/
H A 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()
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()
336 * We leave interface_type the same so that ES 3.x SSO pipeline in add_shader_variable()
343 glsl_get_type_name(glsl_get_array_element(interface_type)); in add_shader_variable()
221 create_shader_variable(struct gl_shader_program *shProg, const nir_variable *in, const char *name, const struct glsl_type *type, const struct glsl_type *interface_type, bool use_implicit_location, int location, const struct glsl_type *outermost_struct_type) create_shader_variable() argument
[all...]
H A 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()
488 * Set this->interface_type on a newly created variable.
492 assert(this->interface_type == NULL); in init_interface_type()
493 this->interface_type = type; in init_interface_type()
504 * Change this->interface_type on a variable that previously had a
505 * different, but compatible, interface_type. This is used during linking
514 assert(this->interface_type->length == type->length); in change_interface_type()
516 this->interface_type in change_interface_type()
1042 const glsl_type *interface_type; global() member in ir_variable
[all...]
H A 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()
H A 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...]
H A 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()
H A 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()
H A 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()
H A Dglsl_to_nir.cpp613 var->interface_type = ir->get_interface_type(); in visit()
620 var->interface_type = explicit_ifc_type; in visit()
H A Dir.cpp2078 this->interface_type = NULL; in ir_variable()
H A 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/
H A 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()
H A 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()
H A 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()
H A 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()
H A Dnir_lower_atomics_to_ssbo.c256 ssbo->interface_type = in nir_lower_atomics_to_ssbo()
H A Dnir_clone.c169 nvar->interface_type = var->interface_type; in nir_variable_clone()
H A Dnir_gather_info.c941 if (var->data.bindless || var->interface_type) in nir_shader_gather_info()
H A Dnir.h761 const struct glsl_type *interface_type;
5613 var->interface_type != NULL);
5620 var->interface_type != NULL);
/third_party/mesa3d/src/compiler/spirv/
H A Dvtn_variables.c1488 struct vtn_type *interface_type, in vtn_storage_class_to_mode()
1495 /* Assume it's an UBO if we lack the interface_type. */ in vtn_storage_class_to_mode()
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()
1517 /* interface_type is only NULL when OpTypeForwardPointer is used and 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()
1486 vtn_storage_class_to_mode(struct vtn_builder *b, SpvStorageClass class, struct vtn_type *interface_type, nir_variable_mode *nir_mode_out) vtn_storage_class_to_mode() argument
[all...]
H A Dvtn_private.h1012 struct vtn_type *interface_type,
/third_party/mesa3d/src/mesa/main/
H A Dshader_types.h950 const struct glsl_type *interface_type; member
H A 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/zink/
H A Dzink_compiler.c2234 const struct glsl_type *interface_type = var->interface_type ? glsl_without_array(var->interface_type) : NULL; 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_type) - 1))) in unbreak_bos()
2267 var->interface_type = var->type; in unbreak_bos()
2284 var->interface_type in unbreak_bos()
[all...]
/third_party/mesa3d/src/gallium/drivers/d3d12/
H A Dd3d12_nir_passes.c648 ubo->interface_type = in d3d12_lower_state_vars()
/third_party/mesa3d/src/gallium/auxiliary/nir/
H A Dtgsi_to_nir.c1317 var->interface_type = in add_ssbo_var()

Completed in 58 milliseconds

12