Lines Matching refs:cat5
457 instr_cat5_t *cat5 = ptr; in emit_cat5() local
475 cat5->full = ! (src1->flags & IR3_REG_HALF); in emit_cat5()
476 cat5->src1 = reg(src1, info, instr->repeat, IR3_REG_HALF); in emit_cat5()
481 cat5->src2 = reg(src2, info, instr->repeat, IR3_REG_HALF); in emit_cat5()
485 cat5->s2en_bindless.base_hi = instr->cat5.tex_base >> 1; in emit_cat5()
486 cat5->base_lo = instr->cat5.tex_base & 1; in emit_cat5()
491 cat5->s2en_bindless.src3 = reg(samp_tex, info, instr->repeat, in emit_cat5()
495 cat5->s2en_bindless.desc_mode = CAT5_BINDLESS_A1_UNIFORM; in emit_cat5()
497 cat5->s2en_bindless.desc_mode = CAT5_BINDLESS_UNIFORM; in emit_cat5()
505 cat5->s2en_bindless.desc_mode = CAT5_NONUNIFORM; in emit_cat5()
507 iassert(!(instr->cat5.samp | instr->cat5.tex)); in emit_cat5()
509 cat5->s2en_bindless.src3 = instr->cat5.samp; in emit_cat5()
511 cat5->s2en_bindless.desc_mode = CAT5_BINDLESS_A1_IMM; in emit_cat5()
513 cat5->s2en_bindless.desc_mode = CAT5_BINDLESS_IMM; in emit_cat5()
516 cat5->norm.samp = instr->cat5.samp; in emit_cat5()
517 cat5->norm.tex = instr->cat5.tex; in emit_cat5()
520 cat5->dst = reg(dst, info, instr->repeat, IR3_REG_R | IR3_REG_HALF); in emit_cat5()
521 cat5->wrmask = dst->wrmask; in emit_cat5()
522 cat5->type = instr->cat5.type; in emit_cat5()
523 cat5->is_3d = !!(instr->flags & IR3_INSTR_3D); in emit_cat5()
524 cat5->is_a = !!(instr->flags & IR3_INSTR_A); in emit_cat5()
525 cat5->is_s = !!(instr->flags & IR3_INSTR_S); in emit_cat5()
526 cat5->is_s2en_bindless = !!(instr->flags & (IR3_INSTR_S2EN | IR3_INSTR_B)); in emit_cat5()
527 cat5->is_o = !!(instr->flags & IR3_INSTR_O); in emit_cat5()
528 cat5->is_p = !!(instr->flags & IR3_INSTR_P); in emit_cat5()
529 cat5->opc = instr->opc; in emit_cat5()
530 cat5->jmp_tgt = !!(instr->flags & IR3_INSTR_JP); in emit_cat5()
531 cat5->sync = !!(instr->flags & IR3_INSTR_SY); in emit_cat5()
532 cat5->opc_cat = 5; in emit_cat5()
1265 instr->cat5.type = half_type(instr->cat5.type); in ir3_set_dst_type()
1267 instr->cat5.type = full_type(instr->cat5.type); in ir3_set_dst_type()