Home
last modified time | relevance | path

Searched refs:vtn_builder (Results 1 – 7 of 7) sorted by relevance

/external/mesa3d/src/compiler/spirv/
Dvtn_private.h39 struct vtn_builder;
42 void vtn_log(struct vtn_builder *b, enum nir_spirv_debug_level level,
45 void vtn_logf(struct vtn_builder *b, enum nir_spirv_debug_level level,
50 void _vtn_warn(struct vtn_builder *b, const char *file, unsigned line,
74 void _vtn_fail(struct vtn_builder *b, const char *file, unsigned line,
231 typedef bool (*vtn_instruction_handler)(struct vtn_builder *, uint32_t,
234 void vtn_build_cfg(struct vtn_builder *b, const uint32_t *words,
236 void vtn_function_emit(struct vtn_builder *b, struct vtn_function *func,
240 vtn_foreach_instruction(struct vtn_builder *b, const uint32_t *start,
368 bool vtn_types_compatible(struct vtn_builder *b,
[all …]
Dvtn_variables.c32 vtn_access_chain_create(struct vtn_builder *b, unsigned length) in vtn_access_chain_create()
46 vtn_access_chain_extend(struct vtn_builder *b, struct vtn_access_chain *old, in vtn_access_chain_extend()
61 vtn_pointer_uses_ssa_offset(struct vtn_builder *b, in vtn_pointer_uses_ssa_offset()
71 vtn_pointer_is_external_block(struct vtn_builder *b, in vtn_pointer_is_external_block()
83 vtn_access_chain_pointer_dereference(struct vtn_builder *b, in vtn_access_chain_pointer_dereference()
119 vtn_access_link_as_ssa(struct vtn_builder *b, struct vtn_access_link link, in vtn_access_link_as_ssa()
139 vtn_variable_resource_index(struct vtn_builder *b, struct vtn_variable *var, in vtn_variable_resource_index()
161 vtn_resource_reindex(struct vtn_builder *b, nir_ssa_def *base_index, in vtn_resource_reindex()
177 vtn_ssa_offset_pointer_dereference(struct vtn_builder *b, in vtn_ssa_offset_pointer_dereference()
339 vtn_pointer_dereference(struct vtn_builder *b, in vtn_pointer_dereference()
[all …]
Dspirv_to_nir.c37 vtn_log(struct vtn_builder *b, enum nir_spirv_debug_level level, in vtn_log()
52 vtn_logf(struct vtn_builder *b, enum nir_spirv_debug_level level, in vtn_logf()
68 vtn_log_err(struct vtn_builder *b, in vtn_log_err()
100 vtn_dump_shader(struct vtn_builder *b, const char *path, const char *prefix) in vtn_dump_shader()
121 _vtn_warn(struct vtn_builder *b, const char *file, unsigned line, in _vtn_warn()
133 _vtn_fail(struct vtn_builder *b, const char *file, unsigned line, in _vtn_fail()
159 vtn_undef_ssa_value(struct vtn_builder *b, const struct glsl_type *type) in vtn_undef_ssa_value()
194 vtn_const_ssa_value(struct vtn_builder *b, nir_constant *constant, in vtn_const_ssa_value()
279 vtn_ssa_value(struct vtn_builder *b, uint32_t value_id) in vtn_ssa_value()
305 vtn_string_literal(struct vtn_builder *b, const uint32_t *words, in vtn_string_literal()
[all …]
Dvtn_alu.c35 wrap_matrix(struct vtn_builder *b, struct vtn_ssa_value *val) in wrap_matrix()
61 matrix_multiply(struct vtn_builder *b, in matrix_multiply()
139 mat_times_scalar(struct vtn_builder *b, in mat_times_scalar()
155 vtn_handle_matrix_alu(struct vtn_builder *b, SpvOp opcode, in vtn_handle_matrix_alu()
214 vtn_handle_bitcast(struct vtn_builder *b, struct vtn_ssa_value *dest, in vtn_handle_bitcast()
276 vtn_nir_alu_op_for_spirv_opcode(struct vtn_builder *b, in vtn_nir_alu_op_for_spirv_opcode()
375 handle_no_contraction(struct vtn_builder *b, struct vtn_value *val, int member, in handle_no_contraction()
386 handle_rounding_mode(struct vtn_builder *b, struct vtn_value *val, int member, in handle_rounding_mode()
407 vtn_handle_alu(struct vtn_builder *b, SpvOp opcode, in vtn_handle_alu()
Dvtn_cfg.c28 vtn_pointer_for_image_or_sampler_variable(struct vtn_builder *b, in vtn_pointer_for_image_or_sampler_variable()
43 vtn_cfg_handle_prepass_instruction(struct vtn_builder *b, SpvOp opcode, in vtn_cfg_handle_prepass_instruction()
247 vtn_add_case(struct vtn_builder *b, struct vtn_switch *swtch, in vtn_add_case()
310 vtn_get_branch_type(struct vtn_builder *b, in vtn_get_branch_type()
333 vtn_cfg_walk_blocks(struct vtn_builder *b, struct list_head *cf_list, in vtn_cfg_walk_blocks()
594 vtn_build_cfg(struct vtn_builder *b, const uint32_t *words, const uint32_t *end) in vtn_build_cfg()
606 vtn_handle_phis_first_pass(struct vtn_builder *b, SpvOp opcode, in vtn_handle_phis_first_pass()
639 vtn_handle_phi_second_pass(struct vtn_builder *b, SpvOp opcode, in vtn_handle_phi_second_pass()
664 vtn_emit_branch(struct vtn_builder *b, enum vtn_branch_type branch_type, in vtn_emit_branch()
695 vtn_emit_cf_list(struct vtn_builder *b, struct list_head *cf_list, in vtn_emit_cf_list()
[all …]
Dvtn_glsl450.c91 build_mat_det(struct vtn_builder *b, struct vtn_ssa_value *src) in build_mat_det()
143 matrix_inverse(struct vtn_builder *b, struct vtn_ssa_value *src) in matrix_inverse()
416 vtn_nir_alu_op_for_spirv_glsl_opcode(struct vtn_builder *b, in vtn_nir_alu_op_for_spirv_glsl_opcode()
474 handle_glsl450_alu(struct vtn_builder *b, enum GLSLstd450 entrypoint, in handle_glsl450_alu()
710 handle_glsl450_interpolation(struct vtn_builder *b, enum GLSLstd450 opcode, in handle_glsl450_interpolation()
760 vtn_handle_glsl450_instruction(struct vtn_builder *b, uint32_t ext_opcode, in vtn_handle_glsl450_instruction()
/external/mesa3d/prebuilt-intermediates/spirv/
Dvtn_gather_types.c317 vtn_set_instruction_result_type(struct vtn_builder *b, SpvOp opcode, in vtn_set_instruction_result_type()