Home | History | Annotate | Download | only in tgsi

Lines Matching defs:out

23  * TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
298 goto out;
321 out:
391 goto out;
404 out:
432 goto out;
453 out:
543 goto out;
552 goto out;
557 goto out;
570 goto out;
580 out:
918 goto out;
931 goto out;
937 out:
1088 union tgsi_any_token *out = get_tokens( ureg, DOMAIN_INSN, size );
1094 out[n].value = 0;
1095 out[n].src.File = src.File;
1096 out[n].src.SwizzleX = src.SwizzleX;
1097 out[n].src.SwizzleY = src.SwizzleY;
1098 out[n].src.SwizzleZ = src.SwizzleZ;
1099 out[n].src.SwizzleW = src.SwizzleW;
1100 out[n].src.Index = src.Index;
1101 out[n].src.Negate = src.Negate;
1102 out[0].src.Absolute = src.Absolute;
1106 out[0].src.Indirect = 1;
1107 out[n].value = 0;
1108 out[n].ind.File = src.IndirectFile;
1109 out[n].ind.Swizzle = src.IndirectSwizzle;
1110 out[n].ind.Index = src.IndirectIndex;
1113 out[n].ind.ArrayID = 0;
1115 out[n].ind.ArrayID = src.ArrayID;
1120 out[0].src.Dimension = 1;
1121 out[n].dim.Dimension = 0;
1122 out[n].dim.Padding = 0;
1124 out[n].dim.Indirect = 1;
1125 out[n].dim.Index = src.DimensionIndex;
1127 out[n].value = 0;
1128 out[n].ind.File = src.DimIndFile;
1129 out[n].ind.Swizzle = src.DimIndSwizzle;
1130 out[n].ind.Index = src.DimIndIndex;
1133 out[n].ind.ArrayID = 0;
1135 out[n].ind.ArrayID = src.ArrayID;
1137 out[n].dim.Indirect = 0;
1138 out[n].dim.Index = src.DimensionIndex;
1154 union tgsi_any_token *out = get_tokens( ureg, DOMAIN_INSN, size );
1165 out[n].value = 0;
1166 out[n].dst.File = dst.File;
1167 out[n].dst.WriteMask = dst.WriteMask;
1168 out[n].dst.Indirect = dst.Indirect;
1169 out[n].dst.Index = dst.Index;
1173 out[n].value = 0;
1174 out[n].ind.File = dst.IndirectFile;
1175 out[n].ind.Swizzle = dst.IndirectSwizzle;
1176 out[n].ind.Index = dst.IndirectIndex;
1179 out[n].ind.ArrayID = 0;
1181 out[n].ind.ArrayID = dst.ArrayID;
1186 out[0].dst.Dimension = 1;
1187 out[n].dim.Dimension = 0;
1188 out[n].dim.Padding = 0;
1190 out[n].dim.Indirect = 1;
1191 out[n].dim.Index = dst.DimensionIndex;
1193 out[n].value = 0;
1194 out[n].ind.File = dst.DimIndFile;
1195 out[n].ind.Swizzle = dst.DimIndSwizzle;
1196 out[n].ind.Index = dst.DimIndIndex;
1199 out[n].ind.ArrayID = 0;
1201 out[n].ind.ArrayID = dst.ArrayID;
1203 out[n].dim.Indirect = 0;
1204 out[n].dim.Index = dst.DimensionIndex;
1240 union tgsi_any_token *out;
1246 out = get_tokens( ureg, DOMAIN_INSN, count );
1247 out[0].insn = tgsi_default_instruction();
1248 out[0].insn.Opcode = opcode;
1249 out[0].insn.Saturate = saturate;
1250 out[0].insn.NumDstRegs = num_dst;
1251 out[0].insn.NumSrcRegs = num_src;
1257 out[0].insn.Predicate = 1;
1258 out[1].insn_predicate = tgsi_default_instruction_predicate();
1259 out[1].insn_predicate.Negate = pred_negate;
1260 out[1].insn_predicate.SwizzleX = pred_swizzle_x;
1261 out[1].insn_predicate.SwizzleY = pred_swizzle_y;
1262 out[1].insn_predicate.SwizzleZ = pred_swizzle_z;
1263 out[1].insn_predicate.SwizzleW = pred_swizzle_w;
1283 union tgsi_any_token *out, *insn;
1288 out = get_tokens( ureg, DOMAIN_INSN, 1 );
1289 out[0].value = 0;
1314 union tgsi_any_token *out = retrieve_token( ureg, DOMAIN_INSN, label_token );
1316 out->insn_label.Label = instruction_number;
1325 union tgsi_any_token *out, *insn;
1327 out = get_tokens( ureg, DOMAIN_INSN, 1 );
1332 out[0].value = 0;
1333 out[0].insn_texture.Texture = target;
1334 out[0].insn_texture.NumOffsets = num_offsets;
1341 union tgsi_any_token *out;
1343 out = get_tokens( ureg, DOMAIN_INSN, 1);
1345 out[0].value = 0;
1346 out[0].insn_texture_offset = *offset;
1357 union tgsi_any_token *out, *insn;
1359 out = get_tokens( ureg, DOMAIN_INSN, 1 );
1364 out[0].value = 0;
1365 out[0].insn_memory.Qualifier = qualifier;
1366 out[0].insn_memory.Texture = texture;
1367 out[0].insn_memory.Format = format;
1374 union tgsi_any_token *out = retrieve_token( ureg, DOMAIN_INSN, insn );
1376 assert(out->insn.Type == TGSI_TOKEN_TYPE_INSTRUCTION);
1377 out->insn.NrTokens = ureg->domain[DOMAIN_INSN].count - insn - 1;
1570 union tgsi_any_token *out = get_tokens(ureg, DOMAIN_DECL, array_id ? 4 : 3);
1572 out[0].value = 0;
1573 out[0].decl.Type = TGSI_TOKEN_TYPE_DECLARATION;
1574 out[0].decl.NrTokens = 3;
1575 out[0].decl.File = file;
1576 out[0].decl.UsageMask = usage_mask;
1577 out[0].decl.Semantic = 1;
1578 out[0].decl.Array = array_id != 0;
1580 out[1].value = 0;
1581 out[1].decl_range.First = first;
1582 out[1].decl_range.Last = last;
1584 out[2].value = 0;
1585 out[2].decl_semantic.Name = semantic_name;
1586 out[2].decl_semantic.Index = semantic_index;
1587 out[2].decl_semantic.StreamX = streams & 3;
1588 out[2].decl_semantic.StreamY = (streams >> 2) & 3;
1589 out[2].decl_semantic.StreamZ = (streams >> 4) & 3;
1590 out[2].decl_semantic.StreamW = (streams >> 6) & 3;
1593 out[3].value = 0;
1594 out[3].array.ArrayID = array_id;
1612 union tgsi_any_token *out = get_tokens(ureg, DOMAIN_DECL,
1615 out[0].value = 0;
1616 out[0].decl.Type = TGSI_TOKEN_TYPE_DECLARATION;
1617 out[0].decl.NrTokens = 4;
1618 out[0].decl.File = file;
1619 out[0].decl.UsageMask = usage_mask;
1620 out[0].decl.Interpolate = 1;
1621 out[0].decl.Semantic = 1;
1622 out[0].decl.Array = array_id != 0;
1624 out[1].value = 0;
1625 out[1].decl_range.First = first;
1626 out[1].decl_range.Last = last;
1628 out[2].value = 0;
1629 out[2].decl_interp.Interpolate = interpolate;
1630 out[2].decl_interp.CylindricalWrap = cylindrical_wrap;
1631 out[2].decl_interp.Location = interpolate_location;
1633 out[3].value = 0;
1634 out[3].decl_semantic.Name = semantic_name;
1635 out[3].decl_semantic.Index = semantic_index;
1638 out[4].value = 0;
1639 out[4].array.ArrayID = array_id;
1649 union tgsi_any_token *out = get_tokens( ureg, DOMAIN_DECL,
1652 out[0].value = 0;
1653 out[0].decl.Type = TGSI_TOKEN_TYPE_DECLARATION;
1654 out[0].decl.NrTokens = 2;
1655 out[0].decl.File = TGSI_FILE_TEMPORARY;
1656 out[0].decl.UsageMask = TGSI_WRITEMASK_XYZW;
1657 out[0].decl.Local = local;
1659 out[1].value = 0;
1660 out[1].decl_range.First = first;
1661 out[1].decl_range.Last = last;
1664 out[0].decl.Array = 1;
1665 out[2].value = 0;
1666 out[2].array.ArrayID = arrayid;
1675 union tgsi_any_token *out = get_tokens( ureg, DOMAIN_DECL, 2 );
1677 out[0].value = 0;
1678 out[0].decl.Type = TGSI_TOKEN_TYPE_DECLARATION;
1679 out[0].decl.NrTokens = 2;
1680 out[0].decl.File = file;
1681 out[0].decl.UsageMask = TGSI_WRITEMASK_XYZW;
1682 out[0].decl.Semantic = 0;
1684 out[1].value = 0;
1685 out[1].decl_range.First = first;
1686 out[1].decl_range.Last = first + count - 1;
1696 union tgsi_any_token *out = get_tokens(ureg, DOMAIN_DECL, 3);
1698 out[0].value = 0;
1699 out[0].decl.Type = TGSI_TOKEN_TYPE_DECLARATION;
1700 out[0].decl.NrTokens = 3;
1701 out[0].decl.File = file;
1702 out[0].decl.UsageMask = TGSI_WRITEMASK_XYZW;
1703 out[0].decl.Dimension = 1;
1705 out[1].value = 0;
1706 out[1].decl_range.First = first;
1707 out[1].decl_range.Last = last;
1709 out[2].value = 0;
1710 out[2].decl_dim.Index2D = index2D;
1722 union tgsi_any_token *out = get_tokens(ureg, DOMAIN_DECL, 3);
1724 out[0].value = 0;
1725 out[0].decl.Type = TGSI_TOKEN_TYPE_DECLARATION;
1726 out[0].decl.NrTokens = 3;
1727 out[0].decl.File = TGSI_FILE_SAMPLER_VIEW;
1728 out[0].decl.UsageMask = TGSI_WRITEMASK_XYZW;
1730 out[1].value = 0;
1731 out[1].decl_range.First = index;
1732 out[1].decl_range.Last = index;
1734 out[2].value = 0;
1735 out[2].decl_sampler_view.Resource = target;
1736 out[2].decl_sampler_view.ReturnTypeX = return_type_x;
1737 out[2].decl_sampler_view.ReturnTypeY = return_type_y;
1738 out[2].decl_sampler_view.ReturnTypeZ = return_type_z;
1739 out[2].decl_sampler_view.ReturnTypeW = return_type_w;
1750 union tgsi_any_token *out = get_tokens(ureg, DOMAIN_DECL, 3);
1752 out[0].value = 0;
1753 out[0].decl.Type = TGSI_TOKEN_TYPE_DECLARATION;
1754 out[0].decl.NrTokens = 3;
1755 out[0].decl.File = TGSI_FILE_IMAGE;
1756 out[0].decl.UsageMask = TGSI_WRITEMASK_XYZW;
1758 out[1].value = 0;
1759 out[1].decl_range.First = index;
1760 out[1].decl_range.Last = index;
1762 out[2].value = 0;
1763 out[2].decl_image.Resource = target;
1764 out[2].decl_image.Writable = wr;
1765 out[2].decl_image.Raw = raw;
1766 out[2].decl_image.Format = format;
1774 union tgsi_any_token *out = get_tokens(ureg, DOMAIN_DECL, 2);
1776 out[0].value = 0;
1777 out[0].decl.Type = TGSI_TOKEN_TYPE_DECLARATION;
1778 out[0].decl.NrTokens = 2;
1779 out[0].decl.File = TGSI_FILE_BUFFER;
1780 out[0].decl.UsageMask = TGSI_WRITEMASK_XYZW;
1781 out[0].decl.Atomic = atomic;
1783 out[1].value = 0;
1784 out[1].decl_range.First = index;
1785 out[1].decl_range.Last = index;
1791 union tgsi_any_token *out = get_tokens(ureg, DOMAIN_DECL, 2);
1793 out[0].value = 0;
1794 out[0].decl.Type = TGSI_TOKEN_TYPE_DECLARATION;
1795 out[0].decl.NrTokens = 2;
1796 out[0].decl.File = TGSI_FILE_MEMORY;
1797 out[0].decl.UsageMask = TGSI_WRITEMASK_XYZW;
1798 out[0].decl.MemType = memory_type;
1800 out[1].value = 0;
1801 out[1].decl_range.First = memory_type;
1802 out[1].decl_range.Last = memory_type;
1810 union tgsi_any_token *out = get_tokens( ureg, DOMAIN_DECL, 5 );
1812 out[0].value = 0;
1813 out[0].imm.Type = TGSI_TOKEN_TYPE_IMMEDIATE;
1814 out[0].imm.NrTokens = 5;
1815 out[0].imm.DataType = type;
1816 out[0].imm.Padding = 0;
1818 out[1].imm_data.Uint = v[0];
1819 out[2].imm_data.Uint = v[1];
1820 out[3].imm_data.Uint = v[2];
1821 out[4].imm_data.Uint = v[3];
1829 union tgsi_any_token *out = get_tokens(ureg, DOMAIN_DECL, 2);
1831 out[0].value = 0;
1832 out[0].prop.Type = TGSI_TOKEN_TYPE_PROPERTY;
1833 out[0].prop.NrTokens = 2;
1834 out[0].prop.PropertyName = name;
1836 out[1].prop_data.Data = data;
2056 union tgsi_any_token *out = get_tokens( ureg,
2060 memcpy(out,
2062 nr_tokens * sizeof out[0] );
2069 union tgsi_any_token *out = retrieve_token( ureg, DOMAIN_DECL, 0 );
2071 out->header.BodySize = ureg->domain[DOMAIN_DECL].count - 2;
2078 union tgsi_any_token *out = get_tokens( ureg, DOMAIN_DECL, 2 );
2080 out[0].header.HeaderSize = 2;
2081 out[0].header.BodySize = 0;
2083 out[1].processor.Processor = ureg->processor;
2084 out[1].processor.Padding = 0;