1<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"[]>
2<html xml:lang="en-US" lang="en-US" xmlns="http://www.w3.org/1999/xhtml">
3  <head>
4    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
5    <meta http-equiv="Content-Style-Type" content="text/css" />
6    <link rel="stylesheet" href="../css/manpage.css" type="text/css" />
7    <style type="text/css">
8      <!--
9      span.static_style
10      {
11        font-size			: 8pt;
12        color				: white;
13        font-weight			: bold;
14        background			: #44f;
15        border-left			: solid 1px #aaf;
16        border-top			: solid 1px #aaf;
17        border-right		: solid 1px #00c;
18        border-bottom		: solid 1px #00c;
19        padding-left		: 2px;
20        padding-right		: 2px;
21      }
22
23      span.virtual_style
24      {
25        font-size			 : 8pt;
26        color				 : white;
27        font-weight			: bold;
28        background			: #0a0;
29        border-left			: solid 1px #0f0;
30        border-top			: solid 1px #0f0;
31        border-right		: solid 1px #060;
32        border-bottom		: solid 1px #060;
33        padding-left		: 2px;
34        padding-right		: 2px;
35      }
36
37      span.protected_style
38      {
39        font-size			 : 8pt;
40        color				 : white;
41        font-weight			: bold;
42        background			: #444;
43        border-left			: solid 1px #ccc;
44        border-top			: solid 1px #ccc;
45        border-right		: solid 1px #222;
46        border-bottom		: solid 1px #222;
47        padding-left		: 2px;
48        padding-right		: 2px;
49      }
50      table.table, table.table td, table.table th
51      {
52        border-collapse: collapse;
53        background-color: white;
54      }
55
56      table.table
57      {
58        width: auto;
59        margin: 1em;
60        position	: static;
61        font-family	: Arial;
62      }
63
64      table.table td, table.table th
65      {
66        padding: 0.2em;
67      }
68
69      table.table td.number, table.table th.number
70      {
71        text-align: right;
72      }
73
74      table.table tbody tr th
75      {
76        text-align: left;
77        font-weight: normal;
78        width: auto;
79      }
80
81      table.table thead tr th,
82      table.table tbody tr th.category
83      {
84        padding: 0 0.2em;
85      }
86
87      table.table caption
88      {
89        font-weight: bold;
90        padding: 0.4em;
91      }
92      table.table th
93      {
94        font-weight			: bold;
95        background			: #acf;
96      }
97        -->
98    </style>
99    <title>Reserved Geometry Shaders</title>
100  </head>
101  <body>
102    <h1>Reserved Geometry Shaders</h1>
103    <h2>List</h2>
104    <div class="section">
105      <p>
106DMPGL 2.0 provides the precompiled geometry shader programs indicated below. They are located in <CODE>CTR_SDK/resources/shaders</CODE>.</p>
107      <table>
108          <tr>
109              <th>Shader Filename</th>
110              <th>Features</th>
111              <th>Vertex Attributes Used</th>
112          </tr>
113<tr><td>DMP_point0.obj</td><td>Point</td><td>Vertex coordinates, point size</td></tr>
114<tr><td>DMP_point1.obj</td><td>Point</td><td>Vertex coordinates, point size, and one other attribute</td></tr>
115<tr><td>DMP_point2.obj</td><td>Point</td><td>Vertex coordinates, point size, and two other attributes</td></tr>
116<tr><td>DMP_point3.obj</td><td>Point</td><td>Vertex coordinates, point size, and three other attributes</td></tr>
117<tr><td>DMP_point4.obj</td><td>Point</td><td>Vertex coordinates, point size, and four other attributes</td></tr>
118<tr><td>DMP_point5.obj</td><td>Point</td><td>Vertex coordinates, point size, and five other attributes</td></tr>
119<tr><td>DMP_point6.obj</td><td>Point</td><td>Vertex coordinates, point size, and six other attributes</td></tr>
120<tr><td>DMP_pointSprite0_1.obj</td><td>Point sprites</td><td>Vertex coordinates, point size, and one texture coordinate</td></tr>
121<tr><td>DMP_pointSprite0_2.obj</td><td>Point sprites</td><td>Vertex coordinates, point size, and two texture coordinates</td></tr>
122<tr><td>DMP_pointSprite0_3.obj</td><td>Point sprites</td><td>Vertex coordinates, point size, and three texture coordinates</td></tr>
123<tr><td>DMP_pointSprite1_1.obj</td><td>Point sprites</td><td>Vertex coordinates, point size, one texture coordinate, and one other attribute</td></tr>
124<tr><td>DMP_pointSprite1_2.obj</td><td>Point sprites</td><td>Vertex coordinates, point size, two texture coordinates, and one other attribute</td></tr>
125<tr><td>DMP_pointSprite1_3.obj</td><td>Point sprites</td><td>Vertex coordinates, point size, three texture coordinates, and one other attribute</td></tr>
126<tr><td>DMP_pointSprite2_1.obj</td><td>Point sprites</td><td>Vertex coordinates, point size, one texture coordinate, and two other attributes</td></tr>
127<tr><td>DMP_pointSprite2_2.obj</td><td>Point sprites</td><td>Vertex coordinates, point size, two texture coordinates, and two other attributes</td></tr>
128<tr><td>DMP_pointSprite2_3.obj</td><td>Point sprites</td><td>Vertex coordinates, point size, three texture coordinates, and two other attributes</td></tr>
129<tr><td>DMP_pointSprite3_1.obj</td><td>Point sprites</td><td>Vertex coordinates, point size, one texture coordinate, and three other attributes</td></tr>
130<tr><td>DMP_pointSprite3_2.obj</td><td>Point sprites</td><td>Vertex coordinates, point size, two texture coordinates, and three other attributes</td></tr>
131<tr><td>DMP_pointSprite3_3.obj</td><td>Point sprites</td><td>Vertex coordinates, point size, three texture coordinates, and three other attributes</td></tr>
132<tr><td>DMP_separateLine0.obj</td><td>Separator lines</td><td>Vertex coordinates</td></tr>
133<tr><td>DMP_separateLine1.obj</td><td>Separator lines</td><td>Vertex coordinates and one other attribute</td></tr>
134<tr><td>DMP_separateLine2.obj</td><td>Separator lines</td><td>Vertex coordinates and two other attributes</td></tr>
135<tr><td>DMP_separateLine3.obj</td><td>Separator lines</td><td>Vertex coordinates and three other attributes</td></tr>
136<tr><td>DMP_separateLine4.obj</td><td>Separator lines</td><td>Vertex coordinates and four other attributes</td></tr>
137<tr><td>DMP_separateLine5.obj</td><td>Separator lines</td><td>Vertex coordinates and five other attributes</td></tr>
138<tr><td>DMP_separateLine6.obj</td><td>Separator lines</td><td>Vertex coordinates and six other attributes</td></tr>
139<tr><td>DMP_stripLine0.obj</td><td>Strip lines</td><td>Vertex coordinates</td></tr>
140<tr><td>DMP_stripLine1.obj</td><td>Strip lines</td><td>Vertex coordinates and one other attribute</td></tr>
141<tr><td>DMP_stripLine2.obj</td><td>Strip lines</td><td>Vertex coordinates and two other attributes</td></tr>
142<tr><td>DMP_stripLine3.obj</td><td>Strip lines</td><td>Vertex coordinates and three other attributes</td></tr>
143<tr><td>DMP_stripLine4.obj</td><td>Strip lines</td><td>Vertex coordinates and four other attributes</td></tr>
144<tr><td>DMP_stripLine5.obj</td><td>Strip lines</td><td>Vertex coordinates and five other attributes</td></tr>
145<tr><td>DMP_stripLine6.obj</td><td>Strip lines</td><td>Vertex coordinates and six other attributes</td></tr>
146<tr><td>DMP_silhouetteTriangle.obj</td><td>Silhouette triangles</td><td>Vertex coordinates, color, normal vectors (normalized by <CODE>y, x</CODE>)</td></tr>
147<tr><td>DMP_silhouetteStrip.obj</td><td>Silhouette strips</td><td>Vertex coordinates, color, normal vectors (normalized by <CODE>y, x</CODE>)</td></tr>
148<tr><td>DMP_subdivision1.obj</td><td>Catmull-Clark subdivisions</td><td>Vertex coordinates and one other attribute</td></tr>
149<tr><td>DMP_subdivision2.obj</td><td>Catmull-Clark subdivisions</td><td>Vertex coordinates and two other attributes</td></tr>
150<tr><td>DMP_subdivision3.obj</td><td>Catmull-Clark subdivisions</td><td>Vertex coordinates and three other attributes</td></tr>
151<tr><td>DMP_subdivision4.obj</td><td>Catmull-Clark subdivisions</td><td>Vertex coordinates and four other attributes</td></tr>
152<tr><td>DMP_subdivision5.obj</td><td>Catmull-Clark subdivisions</td><td>Vertex coordinates and five other attributes</td></tr>
153<tr><td>DMP_subdivision6.obj</td><td>Catmull-Clark subdivisions</td><td>Vertex coordinates and six other attributes</td></tr>
154<tr><td>DMP_loopSubdivision1.obj</td><td>Loop subdivisions</td><td>One output register</td></tr>
155<tr><td>DMP_loopSubdivision2.obj</td><td>Loop subdivisions</td><td>Two output registers</td></tr>
156<tr><td>DMP_loopSubdivision3.obj</td><td>Loop subdivisions</td><td>Three output registers</td></tr>
157<tr><td>DMP_loopSubdivision4.obj</td><td>Loop subdivisions</td><td>Four output registers</td></tr>
158      </table>
159      <p>
160The particle system shader files are as follows.</p>
161      <table>
162          <tr>
163              <th>Shader Filename</th>
164              <th>Time Clamp</th>
165              <th>Texture Coordinate Rotation</th>
166              <th>RGBA Colors</th>
167              <th>Texture Coordinate 2</th>
168          </tr>
169<tr><td>DMP_particleSystem_0_0_0_0.obj</td><td>Yes</td><td>Yes</td><td>Alpha only</td><td>No</td></tr>
170<tr><td>DMP_particleSystem_0_0_0_1.obj</td><td>Yes</td><td>Yes</td><td>Alpha only</td><td>Yes</td></tr>
171<tr><td>DMP_particleSystem_0_0_1_0.obj</td><td>Yes</td><td>Yes</td><td>RGBA</td><td>No</td></tr>
172<tr><td>DMP_particleSystem_0_0_1_1.obj</td><td>Yes</td><td>Yes</td><td>RGBA</td><td>Yes</td></tr>
173<tr><td>DMP_particleSystem_0_1_0_0.obj</td><td>Yes</td><td>No</td><td>Alpha only</td><td>No</td></tr>
174<tr><td>DMP_particleSystem_0_1_0_1.obj</td><td>Yes</td><td>No</td><td>Alpha only</td><td>Yes</td></tr>
175<tr><td>DMP_particleSystem_0_1_1_0.obj</td><td>Yes</td><td>No</td><td>RGBA</td><td>No</td></tr>
176<tr><td>DMP_particleSystem_0_1_1_1.obj</td><td>Yes</td><td>No</td><td>RGBA</td><td>Yes</td></tr>
177<tr><td>DMP_particleSystem_1_0_0_0.obj</td><td>No</td><td>Yes</td><td>Alpha only</td><td>No</td></tr>
178<tr><td>DMP_particleSystem_1_0_0_1.obj</td><td>No</td><td>Yes</td><td>Alpha only</td><td>Yes</td></tr>
179<tr><td>DMP_particleSystem_1_0_1_0.obj</td><td>No</td><td>Yes</td><td>RGBA</td><td>No</td></tr>
180<tr><td>DMP_particleSystem_1_0_1_1.obj</td><td>No</td><td>Yes</td><td>RGBA</td><td>Yes</td></tr>
181<tr><td>DMP_particleSystem_1_1_0_0.obj</td><td>No</td><td>No</td><td>Alpha only</td><td>No</td></tr>
182<tr><td>DMP_particleSystem_1_1_0_1.obj</td><td>No</td><td>No</td><td>Alpha only</td><td>Yes</td></tr>
183<tr><td>DMP_particleSystem_1_1_1_0.obj</td><td>No</td><td>No</td><td>RGBA</td><td>No</td></tr>
184<tr><td>DMP_particleSystem_1_1_1_1.obj</td><td>No</td><td>No</td><td>RGBA</td><td>Yes</td></tr>
185      </table>
186      <p>
187See the DMPGL 2.0 specifications for detailed descriptions of each geometry shader.</p>
188    </div>
189
190    <h2>Revision History</h2>
191    <div class="section">
192      <dl class="history">
193        <dt>2011/09/16</dt>
194        <dd>Initial version.<br /></dd>
195      </dl>
196    </div>
197  <hr><p>CONFIDENTIAL</p></body>
198</html>