Searched refs:vtn_assert (Results 1 – 9 of 9) sorted by relevance
217 vtn_assert(glsl_type_is_struct_or_ifc(type)); in vtn_undef_ssa_value()261 vtn_assert(glsl_type_is_struct_or_ifc(type)); in vtn_const_ssa_value()288 vtn_assert(val->pointer->ptr_type && val->pointer->ptr_type->type); in vtn_ssa_value()367 vtn_assert(type->base_type == vtn_base_type_image); in vtn_get_image()381 vtn_assert(type->base_type == vtn_base_type_image); in vtn_push_image()390 vtn_assert(type->base_type == vtn_base_type_sampler); in vtn_get_sampler()407 vtn_assert(type->base_type == vtn_base_type_sampled_image); in vtn_push_sampled_image()417 vtn_assert(type->base_type == vtn_base_type_sampled_image); in vtn_get_sampled_image()483 vtn_assert(count >= 1 && w + count <= end); in vtn_foreach_instruction()564 vtn_assert(handled); in vtn_handle_extension()[all …]
203 vtn_assert(stride > 0); in vtn_access_link_as_ssa()233 vtn_assert(b->options->environment == NIR_SPIRV_VULKAN); in vtn_variable_resource_index()239 vtn_assert(var->var); in vtn_variable_resource_index()265 vtn_assert(b->options->environment == NIR_SPIRV_VULKAN); in vtn_resource_reindex()288 vtn_assert(b->options->environment == NIR_SPIRV_VULKAN); in vtn_descriptor_load()363 vtn_assert(type->base_type == vtn_base_type_struct); in vtn_pointer_dereference()382 vtn_assert(base->var && base->type); in vtn_pointer_dereference()451 vtn_assert(deref_chain->link[idx].mode == vtn_access_mode_literal); in vtn_pointer_dereference()510 vtn_assert(glsl_type_is_struct_or_ifc(deref->type)); in _vtn_local_load_store()591 vtn_assert(ptr->deref == NULL && ptr->block_index != NULL); in vtn_pointer_to_descriptor()[all …]
432 vtn_assert(dec->scope == VTN_DEC_DECORATION); in handle_no_contraction()627 vtn_assert(glsl_type_is_vector_or_scalar(vtn_src[i]->type)); in vtn_handle_alu()653 vtn_assert(glsl_type_is_struct_or_ifc(dest_type)); in vtn_handle_alu()659 vtn_assert(glsl_type_is_struct_or_ifc(dest_type)); in vtn_handle_alu()665 vtn_assert(glsl_type_is_struct_or_ifc(dest_type)); in vtn_handle_alu()678 vtn_assert(glsl_type_is_struct_or_ifc(dest_type)); in vtn_handle_alu()1023 vtn_assert(count >= num_inputs + 3); in vtn_handle_integer_dot()1032 vtn_assert(glsl_type_is_vector_or_scalar(vtn_src[i]->type)); in vtn_handle_integer_dot()1095 vtn_assert(count == (num_inputs + 4)); in vtn_handle_integer_dot()1291 vtn_assert(count == 4); in vtn_handle_bitcast()
180 vtn_assert(b->func == NULL); in vtn_cfg_handle_prepass_instruction()198 vtn_assert(func_type->return_type->type == result_type); in vtn_cfg_handle_prepass_instruction()268 vtn_assert(b->func_param_idx < b->func->nir_func->num_params); in vtn_cfg_handle_prepass_instruction()277 vtn_assert(b->block == NULL); in vtn_cfg_handle_prepass_instruction()296 vtn_assert(b->block && b->block->merge == NULL); in vtn_cfg_handle_prepass_instruction()310 vtn_assert(b->block && b->block->branch == NULL); in vtn_cfg_handle_prepass_instruction()1134 vtn_assert((branch[0] & SpvOpCodeMask) == SpvOpBranchConditional); in vtn_emit_cf_list_structured()1311 vtn_assert(block->block); in vtn_emit_cf_func_unstructured()1377 vtn_assert(def != NULL); in vtn_emit_cf_func_unstructured()
112 #define vtn_assert(expr) \ macro828 vtn_assert(glsl_type_is_vector_or_scalar(value->type->type)); in vtn_value_to_pointer()833 vtn_assert(value->value_type == vtn_value_type_pointer); in vtn_value_to_pointer()
73 vtn_assert(member == -1); in spec_constant_decoration_cb()
377 vtn_assert(glsl_type_is_struct_or_ifc(dest_type)); in handle_glsl450_alu()613 vtn_assert(glsl_type_is_struct_or_ifc(dest_type)); in handle_glsl450_alu()
43 vtn_assert(dst->type == src0->type); in vtn_build_subgroup_instr()
217 vtn_assert(num_srcs <= ARRAY_SIZE(srcs)); in handle_instr()229 vtn_assert(dest_type == NULL); in handle_instr()