Searched refs:validate_assert (Results 1 – 2 of 2) sorted by relevance
/external/mesa3d/src/compiler/nir/ |
D | nir_validate.c | 123 #define validate_assert(state, cond) do { \ macro 134 validate_assert(state, nir_num_components_valid(num_components)); in validate_num_components() 141 validate_assert(state, src->reg.reg != NULL); in validate_reg_src() 145 validate_assert(state, entry); in validate_reg_src() 152 validate_assert(state, state->if_stmt); in validate_reg_src() 156 validate_assert(state, reg_state->where_defined == state->impl && in validate_reg_src() 160 validate_assert(state, src->reg.reg->bit_size & bit_sizes); in validate_reg_src() 162 validate_assert(state, src->reg.reg->num_components == num_components); in validate_reg_src() 164 validate_assert(state, (src->reg.reg->num_array_elems == 0 || in validate_reg_src() 169 validate_assert(state, src->reg.reg->num_array_elems != 0); in validate_reg_src() [all …]
|
/external/mesa3d/src/freedreno/ir3/ |
D | ir3_validate.c | 51 #define validate_assert(ctx, cond) do { \ macro 70 validate_assert(ctx, _mesa_set_search(ctx->defs, src)); in validate_src() 71 validate_assert(ctx, src->regs[0]->wrmask == reg->wrmask); in validate_src() 72 validate_assert(ctx, reg_class_flags(src->regs[0]) == reg_class_flags(reg)); in validate_src() 82 validate_assert(ctx, instr->address); in validate_instr() 88 validate_assert(ctx, instr->address); in validate_instr() 102 validate_assert(ctx, !(reg->flags & IR3_REG_HALF)); in validate_instr() 104 validate_assert(ctx, reg->flags & IR3_REG_HALF); in validate_instr() 107 validate_assert(ctx, (last_reg->flags & IR3_REG_HALF) == (reg->flags & IR3_REG_HALF)); in validate_instr() 122 validate_assert(ctx, instr->cat1.dst_type == half_type(instr->cat1.dst_type)); in validate_instr() [all …]
|