Home
last modified time | relevance | path

Searched refs:vtn_assert (Results 1 – 9 of 9) sorted by relevance

/external/mesa3d/src/compiler/spirv/
Dspirv_to_nir.c184 vtn_assert(glsl_type_is_struct_or_ifc(type)); in vtn_undef_ssa_value()
228 vtn_assert(glsl_type_is_struct_or_ifc(type)); in vtn_const_ssa_value()
255 vtn_assert(val->pointer->ptr_type && val->pointer->ptr_type->type); in vtn_ssa_value()
334 vtn_assert(type->base_type == vtn_base_type_image); in vtn_get_image()
346 vtn_assert(type->base_type == vtn_base_type_image); in vtn_push_image()
355 vtn_assert(type->base_type == vtn_base_type_sampler); in vtn_get_sampler()
372 vtn_assert(type->base_type == vtn_base_type_sampled_image); in vtn_push_sampled_image()
382 vtn_assert(type->base_type == vtn_base_type_sampled_image); in vtn_get_sampled_image()
442 vtn_assert(count >= 1 && w + count <= end); in vtn_foreach_instruction()
523 vtn_assert(handled); in vtn_handle_extension()
[all …]
Dvtn_variables.c203 vtn_assert(stride > 0); in vtn_access_link_as_ssa()
233 vtn_assert(b->options->environment == NIR_SPIRV_VULKAN); in vtn_variable_resource_index()
236 vtn_assert(var->type->base_type != vtn_base_type_array); in vtn_variable_resource_index()
241 vtn_assert(var->var); in vtn_variable_resource_index()
267 vtn_assert(b->options->environment == NIR_SPIRV_VULKAN); in vtn_resource_reindex()
290 vtn_assert(b->options->environment == NIR_SPIRV_VULKAN); in vtn_descriptor_load()
365 vtn_assert(type->base_type == vtn_base_type_struct); in vtn_pointer_dereference()
384 vtn_assert(base->var && base->type); in vtn_pointer_dereference()
453 vtn_assert(deref_chain->link[idx].mode == vtn_access_mode_literal); in vtn_pointer_dereference()
511 vtn_assert(glsl_type_is_struct_or_ifc(deref->type)); in _vtn_local_load_store()
[all …]
Dvtn_alu.c384 vtn_assert(dec->scope == VTN_DEC_DECORATION); in handle_no_contraction()
485 vtn_assert(glsl_type_is_vector_or_scalar(vtn_src[i]->type)); in vtn_handle_alu()
511 vtn_assert(glsl_type_is_struct_or_ifc(dest_type)); in vtn_handle_alu()
517 vtn_assert(glsl_type_is_struct_or_ifc(dest_type)); in vtn_handle_alu()
523 vtn_assert(glsl_type_is_struct_or_ifc(dest_type)); in vtn_handle_alu()
531 vtn_assert(glsl_type_is_struct_or_ifc(dest_type)); in vtn_handle_alu()
823 vtn_assert(count == 4); in vtn_handle_bitcast()
Dvtn_cfg.c157 vtn_assert(b->func == NULL); in vtn_cfg_handle_prepass_instruction()
172 vtn_assert(func_type->return_type->type == result_type); in vtn_cfg_handle_prepass_instruction()
222 vtn_assert(b->func_param_idx < b->func->impl->function->num_params); in vtn_cfg_handle_prepass_instruction()
231 vtn_assert(b->block == NULL); in vtn_cfg_handle_prepass_instruction()
250 vtn_assert(b->block && b->block->merge == NULL); in vtn_cfg_handle_prepass_instruction()
262 vtn_assert(b->block && b->block->branch == NULL); in vtn_cfg_handle_prepass_instruction()
1249 vtn_assert(block->block); in vtn_emit_cf_func_unstructured()
1317 vtn_assert(def != NULL); in vtn_emit_cf_func_unstructured()
Dgl_spirv.c73 vtn_assert(member == -1); in spec_constant_decoration_cb()
Dvtn_glsl450.c353 vtn_assert(glsl_type_is_struct_or_ifc(dest_type)); in handle_glsl450_alu()
542 vtn_assert(glsl_type_is_struct_or_ifc(dest_type)); in handle_glsl450_alu()
Dvtn_subgroup.c43 vtn_assert(dst->type == src0->type); in vtn_build_subgroup_instr()
Dvtn_opencl.c215 vtn_assert(num_srcs <= ARRAY_SIZE(srcs)); in handle_instr()
227 vtn_assert(dest_type == NULL); in handle_instr()
Dvtn_private.h103 #define vtn_assert(expr) \ macro