Lines Matching refs:fetch_instr

698 bool AssemblyFromShaderLegacyImpl::visit(const FetchInstruction& fetch_instr)  in visit()  argument
701 auto addr = fetch_instr.buffer_offset(); in visit()
702 auto index_mode = fetch_instr.buffer_index_mode(); in visit()
713 if (fetch_instr.has_prelude()) { in visit()
714 for(auto &i : fetch_instr.prelude()) { in visit()
720 bool use_tc = fetch_instr.use_tc() || (m_bc->chip_class == CAYMAN); in visit()
722 vtx_fetch_results.find(fetch_instr.src().sel()) != in visit()
728 if (fetch_instr.use_tc() && in visit()
729 tex_fetch_results.find(fetch_instr.src().sel()) != in visit()
736 tex_fetch_results.insert(fetch_instr.dst().sel()); in visit()
738 vtx_fetch_results.insert(fetch_instr.dst().sel()); in visit()
742 vtx.op = fetch_instr.vc_opcode(); in visit()
743 vtx.buffer_id = fetch_instr.buffer_id() + buffer_offset; in visit()
744 vtx.fetch_type = fetch_instr.fetch_type(); in visit()
745 vtx.src_gpr = fetch_instr.src().sel(); in visit()
746 vtx.src_sel_x = fetch_instr.src().chan(); in visit()
747 vtx.mega_fetch_count = fetch_instr.mega_fetch_count(); in visit()
748 vtx.dst_gpr = fetch_instr.dst().sel(); in visit()
749 vtx.dst_sel_x = fetch_instr.swz(0); /* SEL_X */ in visit()
750 vtx.dst_sel_y = fetch_instr.swz(1); /* SEL_Y */ in visit()
751 vtx.dst_sel_z = fetch_instr.swz(2); /* SEL_Z */ in visit()
752 vtx.dst_sel_w = fetch_instr.swz(3); /* SEL_W */ in visit()
753 vtx.use_const_fields = fetch_instr.use_const_fields(); in visit()
754 vtx.data_format = fetch_instr.data_format(); in visit()
755 vtx.num_format_all = fetch_instr.num_format(); /* NUM_FORMAT_SCALED */ in visit()
756 vtx.format_comp_all = fetch_instr.is_signed(); /* FORMAT_COMP_SIGNED */ in visit()
757 vtx.endian = fetch_instr.endian_swap(); in visit()
759 vtx.offset = fetch_instr.offset(); in visit()
760 vtx.indexed = fetch_instr.indexed(); in visit()
761 vtx.uncached = fetch_instr.uncached(); in visit()
762 vtx.elem_size = fetch_instr.elm_size(); in visit()
763 vtx.array_base = fetch_instr.array_base(); in visit()
764 vtx.array_size = fetch_instr.array_size(); in visit()
765 vtx.srf_mode_all = fetch_instr.srf_mode_no_zero(); in visit()
768 if (fetch_instr.use_tc()) { in visit()
781 m_bc->cf_last->vpm = (m_bc->type == PIPE_SHADER_FRAGMENT) && fetch_instr.use_vpm(); in visit()