Searched refs:vtn_fail_if (Results 1 – 8 of 8) sorted by relevance
/external/mesa3d/src/compiler/spirv/ |
D | spirv_to_nir.c | 273 vtn_fail_if(ssa->type != glsl_get_bare_type(type->type), in vtn_push_ssa_value() 293 vtn_fail_if(!glsl_type_is_vector_or_scalar(ssa->type), in vtn_get_nir_ssa() 305 vtn_fail_if(def->num_components != glsl_get_vector_elements(type->type) || in vtn_push_nir_ssa() 422 vtn_fail_if(end == NULL, "String is not null-terminated"); in vtn_string_literal() 544 vtn_fail_if(value->value_type != vtn_value_type_type || in _foreach_decoration_helper() 553 vtn_fail_if(member >= base_value->type->length, in _foreach_decoration_helper() 631 vtn_fail_if(dec->scope < VTN_DEC_STRUCT_MEMBER0, /* overflow */ in vtn_handle_decoration() 664 vtn_fail_if(dec->scope < 0, /* Check for overflow */ in vtn_handle_decoration() 862 vtn_fail_if(glsl_without_array(type->type) != glsl_uint_type(), in vtn_type_get_nir_type() 972 vtn_fail_if(dec->operands[0] == 0, "ArrayStride must be non-zero"); in array_stride_decoration_cb() [all …]
|
D | vtn_cfg.c | 321 vtn_fail_if(block->merge_cf_node != NULL, in vtn_block_set_merge_cf_node() 369 vtn_fail_if(switch_case == NULL, in VTN_DECL_CF_NODE_FIND() 380 vtn_fail_if(target_block->switch_case == switch_case, in VTN_DECL_CF_NODE_FIND() 384 vtn_fail_if(target_block->switch_case->node.parent != in VTN_DECL_CF_NODE_FIND() 389 vtn_fail_if(switch_case->fallthrough != NULL && in VTN_DECL_CF_NODE_FIND() 418 vtn_fail_if(node == NULL || node->type != vtn_cf_node_type_if, in VTN_DECL_CF_NODE_FIND() 428 vtn_fail_if(if_stmt->merge_block != NULL, in VTN_DECL_CF_NODE_FIND() 436 vtn_fail_if(target_block->merge_cf_node != &loop->node, in VTN_DECL_CF_NODE_FIND() 443 vtn_fail_if(target_block->merge_cf_node != &swtch->node, in VTN_DECL_CF_NODE_FIND() 492 vtn_fail_if(!sel_val->type || in vtn_parse_switch() [all …]
|
D | vtn_private.h | 86 #define vtn_fail_if(expr, ...) \ macro 736 vtn_fail_if(value_id >= b->value_id_bound, in vtn_untyped_value() 751 vtn_fail_if(value_type == vtn_value_type_ssa, in vtn_push_value() 755 vtn_fail_if(val->value_type != vtn_value_type_invalid, in vtn_push_value() 769 vtn_fail_if(val->value_type != value_type, in vtn_value() 783 vtn_fail_if(val->type->base_type != vtn_base_type_scalar || in vtn_constant_uint() 801 vtn_fail_if(val->type->base_type != vtn_base_type_scalar || in vtn_constant_int() 818 vtn_fail_if(val->type == NULL, "Value %u does not have a type", value_id); in vtn_get_value_type()
|
D | vtn_subgroup.c | 81 vtn_fail_if(dest_type->type != glsl_bool_type(), in vtn_handle_subgroup() 95 vtn_fail_if(dest_type->type != glsl_vector_type(GLSL_TYPE_UINT, 4), in vtn_handle_subgroup() 211 vtn_fail_if(dest_type->type != glsl_bool_type(), in vtn_handle_subgroup()
|
D | vtn_variables.c | 148 vtn_fail_if(dst->value_type != vtn_value_type_invalid, in vtn_copy_value() 152 vtn_fail_if(dst->type->id != src->type->id, in vtn_copy_value() 2393 vtn_fail_if(dest->type->type == NULL, in vtn_handle_variables() 2435 vtn_fail_if(ptr->type->base_type != vtn_base_type_struct, in vtn_handle_variables() 2437 vtn_fail_if(field != ptr->type->length - 1 || in vtn_handle_variables() 2498 vtn_fail_if(ptr_type->base_type != vtn_base_type_pointer || in vtn_handle_variables() 2502 vtn_fail_if(u_type->base_type != vtn_base_type_vector && in vtn_handle_variables() 2518 vtn_fail_if(ptr_type->base_type != vtn_base_type_pointer || in vtn_handle_variables() 2522 vtn_fail_if(u_type->base_type != vtn_base_type_vector && in vtn_handle_variables() 2538 vtn_fail_if(dst_type->base_type != vtn_base_type_pointer || in vtn_handle_variables() [all …]
|
D | vtn_alu.c | 400 vtn_fail_if(b->shader->info.stage != MESA_SHADER_KERNEL, in vtn_rounding_mode_to_nir() 404 vtn_fail_if(b->shader->info.stage != MESA_SHADER_KERNEL, in vtn_rounding_mode_to_nir() 431 vtn_fail_if(b->shader->info.stage != MESA_SHADER_KERNEL, in handle_conversion_opts() 694 vtn_fail_if(opts.rounding_mode != nir_rounding_mode_undef && in vtn_handle_alu() 846 vtn_fail_if(src->num_components * src->bit_size != in vtn_handle_bitcast()
|
D | vtn_opencl.c | 638 vtn_fail_if(ptr_base_type != GLSL_TYPE_FLOAT16 || in _handle_v_load_store()
|
/external/mesa3d/docs/relnotes/ |
D | 20.3.0.rst | 2865 - spirv: Remove a redundant vtn_fail_if
|