Searched refs:vtn_assert (Results 1 – 6 of 6) sorted by relevance
95 vtn_assert(!deref_chain->ptr_as_array); in vtn_access_chain_pointer_dereference()102 vtn_assert(deref_chain->link[i].mode == vtn_access_mode_literal); in vtn_access_chain_pointer_dereference()122 vtn_assert(stride > 0); in vtn_access_link_as_ssa()143 vtn_assert(glsl_type_is_struct(var->type->type)); in vtn_variable_resource_index()189 vtn_assert(base->var && base->type); in vtn_ssa_offset_pointer_dereference()208 vtn_assert(deref_chain->length >= 1); in vtn_ssa_offset_pointer_dereference()239 vtn_assert(deref_chain->length >= 1); in vtn_ssa_offset_pointer_dereference()251 vtn_assert(!block_index); in vtn_ssa_offset_pointer_dereference()254 vtn_assert(base->var); in vtn_ssa_offset_pointer_dereference()257 vtn_assert(base->ptr_type); in vtn_ssa_offset_pointer_dereference()[all …]
293 vtn_assert(val->pointer->ptr_type && val->pointer->ptr_type->type); in vtn_ssa_value()329 vtn_assert(count >= 1 && w + count <= end); in vtn_foreach_instruction()385 vtn_assert(handled); in vtn_handle_extension()644 vtn_assert(glsl_type_is_matrix(type->type)); in mutable_matrix_member()683 vtn_assert(dec->literals[0] == 0); in struct_member_decoration_cb()775 vtn_assert(mat_type->array_element->stride > 0); in struct_member_matrix_stride_cb()796 vtn_assert(type->base_type == vtn_base_type_matrix || in type_decoration_cb()802 vtn_assert(type->base_type == vtn_base_type_struct); in type_decoration_cb()806 vtn_assert(type->base_type == vtn_base_type_struct); in type_decoration_cb()1229 vtn_assert(!is_shadow); in vtn_handle_type()[all …]
48 vtn_assert(b->func == NULL); in vtn_cfg_handle_prepass_instruction()62 vtn_assert(func_type->return_type->type == result_type); in vtn_cfg_handle_prepass_instruction()112 vtn_assert(b->func_param_idx < b->func->impl->num_params); in vtn_cfg_handle_prepass_instruction()120 vtn_assert(vtn_var->type->type == param->type); in vtn_cfg_handle_prepass_instruction()203 vtn_assert(b->block == NULL); in vtn_cfg_handle_prepass_instruction()222 vtn_assert(b->block && b->block->merge == NULL); in vtn_cfg_handle_prepass_instruction()233 vtn_assert(b->block && b->block->branch == NULL); in vtn_cfg_handle_prepass_instruction()317 vtn_assert(swcase->fallthrough == NULL || in vtn_get_branch_type()381 vtn_assert(block->node.link.next == NULL); in vtn_cfg_walk_blocks()447 vtn_assert((*block->merge & SpvOpCodeMask) == SpvOpSelectionMerge); in vtn_cfg_walk_blocks()[all …]
246 vtn_assert(src_bit_size * src_components == dest_bit_size * dest_components); in vtn_handle_bitcast()250 vtn_assert(src_bit_size % dest_bit_size == 0); in vtn_handle_bitcast()253 vtn_assert(src_bit_size == 64); in vtn_handle_bitcast()254 vtn_assert(dest_bit_size == 32); in vtn_handle_bitcast()261 vtn_assert(dest_bit_size % src_bit_size == 0); in vtn_handle_bitcast()267 vtn_assert(dest_bit_size == 64); in vtn_handle_bitcast()268 vtn_assert(src_bit_size == 32); in vtn_handle_bitcast()378 vtn_assert(dec->scope == VTN_DEC_DECORATION); in handle_no_contraction()432 vtn_assert(glsl_type_is_vector_or_scalar(vtn_src[i]->type)); in vtn_handle_alu()484 vtn_assert(glsl_type_is_struct(val->ssa->type)); in vtn_handle_alu()[all …]
519 vtn_assert(glsl_type_is_struct(val->ssa->type)); in handle_glsl450_alu()694 vtn_assert(glsl_type_is_struct(val->ssa->type)); in handle_glsl450_alu()
90 #define vtn_assert(expr) \ macro