Lines Matching defs:dst
71 struct tgsi_dst_register dst;
682 struct ureg_dst dst = ureg_dst_register( TGSI_FILE_TEMPORARY, i );
697 dst.ArrayID = ureg->nr_array_temps;
700 return dst;
1183 struct ureg_dst dst )
1185 unsigned size = 1 + (dst.Indirect ? 1 : 0) +
1186 (dst.Dimension ? (dst.DimIndirect ? 2 : 1) : 0);
1191 assert(dst.File != TGSI_FILE_NULL);
1192 assert(dst.File != TGSI_FILE_SAMPLER);
1193 assert(dst.File != TGSI_FILE_SAMPLER_VIEW);
1194 assert(dst.File != TGSI_FILE_IMMEDIATE);
1195 assert(dst.File < TGSI_FILE_COUNT);
1198 out[n].dst.File = dst.File;
1199 out[n].dst.WriteMask = dst.WriteMask;
1200 out[n].dst.Indirect = dst.Indirect;
1201 out[n].dst.Index = dst.Index;
1204 if (dst.Indirect) {
1206 out[n].ind.File = dst.IndirectFile;
1207 out[n].ind.Swizzle = dst.IndirectSwizzle;
1208 out[n].ind.Index = dst.IndirectIndex;
1210 (dst.File == TGSI_FILE_INPUT || dst.File == TGSI_FILE_OUTPUT))
1213 out[n].ind.ArrayID = dst.ArrayID;
1217 if (dst.Dimension) {
1218 out[0].dst.Dimension = 1;
1221 if (dst.DimIndirect) {
1223 out[n].dim.Index = dst.DimensionIndex;
1226 out[n].ind.File = dst.DimIndFile;
1227 out[n].ind.Swizzle = dst.DimIndSwizzle;
1228 out[n].ind.Index = dst.DimIndIndex;
1230 (dst.File == TGSI_FILE_INPUT || dst.File == TGSI_FILE_OUTPUT))
1233 out[n].ind.ArrayID = dst.ArrayID;
1236 out[n].dim.Index = dst.DimensionIndex;
1403 const struct ureg_dst *dst,
1413 if (nr_dst && ureg_dst_is_empty(dst[0])) {
1417 saturate = nr_dst ? dst[0].Saturate : FALSE;
1427 ureg_emit_dst( ureg, dst[i] );
1438 const struct ureg_dst *dst,
1451 if (nr_dst && ureg_dst_is_empty(dst[0])) {
1455 saturate = nr_dst ? dst[0].Saturate : FALSE;
1471 ureg_emit_dst( ureg, dst[i] );
1483 const struct ureg_dst *dst,
1504 ureg_emit_dst(ureg, dst[i]);