• Home
  • Raw
  • Download

Lines Matching refs:linkage

1019    struct ir3_shader_linkage linkage = {  in tu6_emit_vpc()  local
1025 ir3_link_shaders(&linkage, last_shader, fs, true); in tu6_emit_vpc()
1028 ir3_link_stream_out(&linkage, last_shader); in tu6_emit_vpc()
1033 bool primid_passthru = linkage.primid_loc != 0xff; in tu6_emit_vpc()
1037 tu_cs_emit(cs, ~linkage.varmask[0]); in tu6_emit_vpc()
1038 tu_cs_emit(cs, ~linkage.varmask[1]); in tu6_emit_vpc()
1039 tu_cs_emit(cs, ~linkage.varmask[2]); in tu6_emit_vpc()
1040 tu_cs_emit(cs, ~linkage.varmask[3]); in tu6_emit_vpc()
1059 layer_loc = linkage.max_loc; in tu6_emit_vpc()
1060 ir3_link_add(&linkage, VARYING_SLOT_LAYER, layer_regid, 0x1, linkage.max_loc); in tu6_emit_vpc()
1064 view_loc = linkage.max_loc; in tu6_emit_vpc()
1065 ir3_link_add(&linkage, VARYING_SLOT_VIEWPORT, view_regid, 0x1, linkage.max_loc); in tu6_emit_vpc()
1075 position_loc = linkage.max_loc; in tu6_emit_vpc()
1077 ir3_link_add(&linkage, last_shader->outputs[i].slot, in tu6_emit_vpc()
1084 pointsize_loc = linkage.max_loc; in tu6_emit_vpc()
1085 ir3_link_add(&linkage, VARYING_SLOT_PSIZ, pointsize_regid, 0x1, linkage.max_loc); in tu6_emit_vpc()
1091 uint32_t clip0_loc = linkage.clip0_loc, clip1_loc = linkage.clip1_loc; in tu6_emit_vpc()
1093 clip0_loc = linkage.max_loc; in tu6_emit_vpc()
1094 ir3_link_add(&linkage, VARYING_SLOT_CLIP_DIST0, clip0_regid, in tu6_emit_vpc()
1095 clip_cull_mask & 0xf, linkage.max_loc); in tu6_emit_vpc()
1098 clip1_loc = linkage.max_loc; in tu6_emit_vpc()
1099 ir3_link_add(&linkage, VARYING_SLOT_CLIP_DIST1, clip1_regid, in tu6_emit_vpc()
1100 clip_cull_mask >> 4, linkage.max_loc); in tu6_emit_vpc()
1103 tu6_setup_streamout(cs, last_shader, &linkage); in tu6_emit_vpc()
1110 if (linkage.cnt == 0) in tu6_emit_vpc()
1111 ir3_link_add(&linkage, 0, 0, 0x1, linkage.max_loc); in tu6_emit_vpc()
1114 assert(linkage.cnt <= 32); in tu6_emit_vpc()
1115 const uint32_t sp_out_count = DIV_ROUND_UP(linkage.cnt, 2); in tu6_emit_vpc()
1116 const uint32_t sp_vpc_dst_count = DIV_ROUND_UP(linkage.cnt, 4); in tu6_emit_vpc()
1119 for (uint32_t i = 0; i < linkage.cnt; i++) { in tu6_emit_vpc()
1121 A6XX_SP_VS_OUT_REG_A_REGID(linkage.var[i].regid) | in tu6_emit_vpc()
1122 A6XX_SP_VS_OUT_REG_A_COMPMASK(linkage.var[i].compmask); in tu6_emit_vpc()
1124 A6XX_SP_VS_VPC_DST_REG_OUTLOC0(linkage.var[i].loc); in tu6_emit_vpc()
1136 A6XX_VPC_VS_PACK_STRIDE_IN_VPC(linkage.max_loc) | in tu6_emit_vpc()
1160 tu_cs_emit(cs, A6XX_PC_VS_OUT_CNTL_STRIDE_IN_VPC(linkage.max_loc) | in tu6_emit_vpc()
1176 tu_cs_emit(cs, A6XX_SP_VS_PRIMITIVE_CNTL_OUT(linkage.cnt) | in tu6_emit_vpc()
1192 A6XX_VPC_CNTL_0_PRIMIDLOC(linkage.primid_loc) | in tu6_emit_vpc()
1193 A6XX_VPC_CNTL_0_VIEWIDLOC(linkage.viewid_loc)); in tu6_emit_vpc()