Lines Matching refs:mimg
5992 aco_ptr<MIMG_instruction> mimg{ in emit_mimg() local
5995 mimg->definitions[0] = dst; in emit_mimg()
5996 mimg->operands[0] = Operand(rsrc); in emit_mimg()
5997 mimg->operands[1] = samp; in emit_mimg()
5998 mimg->operands[2] = vdata; in emit_mimg()
6000 mimg->operands[3 + i] = Operand(coords[i]); in emit_mimg()
6002 MIMG_instruction* res = mimg.get(); in emit_mimg()
6003 bld.insert(std::move(mimg)); in emit_mimg()
6033 MIMG_instruction* mimg = emit_mimg(bld, aco_opcode::image_bvh64_intersect_ray, Definition(dst), in visit_bvh64_intersect_ray_amd() local
6035 mimg->dim = ac_image_1d; in visit_bvh64_intersect_ray_amd()
6036 mimg->dmask = 0xf; in visit_bvh64_intersect_ray_amd()
6037 mimg->unrm = true; in visit_bvh64_intersect_ray_amd()
6038 mimg->r128 = true; in visit_bvh64_intersect_ray_amd()
6404 MIMG_instruction* mimg = in visit_image_atomic() local
6406 mimg->glc = return_previous; in visit_image_atomic()
6407 mimg->dlc = false; /* Not needed for atomics */ in visit_image_atomic()
6408 mimg->dim = ac_get_image_dim(ctx->options->chip_class, dim, is_array); in visit_image_atomic()
6409 mimg->dmask = (1 << data.size()) - 1; in visit_image_atomic()
6410 mimg->unrm = true; in visit_image_atomic()
6411 mimg->da = should_declare_array(ctx, dim, is_array); in visit_image_atomic()
6412 mimg->disable_wqm = true; in visit_image_atomic()
6413 mimg->sync = sync; in visit_image_atomic()
6474 MIMG_instruction* mimg = in visit_image_size() local
6476 uint8_t& dmask = mimg->dmask; in visit_image_size()
6477 mimg->dim = ac_get_image_dim(ctx->options->chip_class, dim, is_array); in visit_image_size()
6478 mimg->dmask = (1 << instr->dest.ssa.num_components) - 1; in visit_image_size()
6479 mimg->da = is_array; in visit_image_size()