Lines Matching refs:mimg
456 MIMG_instruction& mimg = instr->mimg(); in emit_instruction() local
458 encoding |= mimg.slc ? 1 << 25 : 0; in emit_instruction()
461 encoding |= mimg.lwe ? 1 << 17 : 0; in emit_instruction()
462 encoding |= mimg.tfe ? 1 << 16 : 0; in emit_instruction()
463 encoding |= mimg.glc ? 1 << 13 : 0; in emit_instruction()
464 encoding |= mimg.unrm ? 1 << 12 : 0; in emit_instruction()
466 assert(!mimg.dlc); /* Device-level coherent is not supported on GFX9 and lower */ in emit_instruction()
467 assert(!mimg.r128); in emit_instruction()
468 encoding |= mimg.a16 ? 1 << 15 : 0; in emit_instruction()
469 encoding |= mimg.da ? 1 << 14 : 0; in emit_instruction()
471 encoding |= mimg.r128 ? 1 << 15 in emit_instruction()
474 encoding |= mimg.dim << 3; /* GFX10: dimensionality instead of declare array */ in emit_instruction()
475 encoding |= mimg.dlc ? 1 << 7 : 0; in emit_instruction()
477 encoding |= (0xF & mimg.dmask) << 8; in emit_instruction()
489 assert(!mimg.d16 || ctx.chip_class >= GFX9); in emit_instruction()
490 encoding |= mimg.d16 ? 1 << 31 : 0; in emit_instruction()
493 encoding |= mimg.a16 ? 1 << 30 : 0; in emit_instruction()