Lines Matching refs:code
24 an code:OpExecutionMode instruction in the geometry shader, and must: match
30 * An input primitive type of code:InputPoints must: only be used with a
32 tessellation shader that specifies code:PointMode.
36 * An input primitive type of code:InputLines must: only be used with a
39 specifying code:IsoLines that does not specify code:PointMode.
44 * An input primitive type of code:InputLinesAdjacency must: only be used
52 * An input primitive type of code:Triangles must: only be used with a
56 specifying code:Quads or code:Triangles that does not specify
57 code:PointMode.
66 * An input primitive type of code:InputTrianglesAdjacency must: only be
84 The primitive mode is specified in the shader using an code:OpExecutionMode
85 instruction with the code:OutputPoints, code:OutputLineStrip or
86 code:OutputTriangleStrip modes, respectively.
99 code:OpExecutionMode instruction with the mode set to code:OutputVertices
111 an code:OpExecutionMode instruction with code:mode specified as
112 code:Invocations and the number of invocations specified as an integer
117 in the code:OpExecutionMode instruction.
119 using code:InvocationId.
141 A geometry shader that uses the code:PassthroughNV decoration on a variable
147 Geometry shader input variables with code:PassthroughNV decoration are
154 The remainder of this section details the usage of the code:PassthroughNV
160 === code:PassthroughNV Decoration
162 Decorating a geometry shader input variable with the code:PassthroughNV
165 Input variables and block members which do not have the code:PassthroughNV
169 The code:PassthroughNV decoration must: only be used within a geometry
172 Any variable decorated with code:PassthroughNV must: be declared using the
173 code:Input storage class.
175 The code:PassthroughNV decoration must: not be used with any of:
177 * an input primitive type other than code:InputPoints, code:InputLines, or
178 code:Triangles, as specified by the mode for code:OpExecutionMode.
179 * an invocation count other than one, as specified by the code:Invocations
180 mode for code:OpExecutionMode.
181 * an code:OpEntryPoint which statically uses the code:OpEmitVertex or
182 code:OpEndPrimitive instructions.
183 * a variable decorated with the code:InvocationId built-in decoration.
184 * a variable decorated with the code:PrimitiveId built-in decoration that
185 is declared using the code:Input storage class.
197 of the previous pipeline stages, the code:PassthroughNV decoration is
201 subsequent pipeline stages, each input variable with the code:PassthroughNV
203 type, decoration (other than code:PassthroughNV), number, and declaration
206 with code:PassthroughNV will be identical to the input declaration, except
209 code:PassthroughNV or having members decorated with code:PassthroughNV will
213 If an input block is decorated with code:PassthroughNV, the equivalent
216 members decorated with code:PassthroughNV.
217 All members of the corresponding output block are assigned code:Location and
218 code:Component decorations identical to those assigned to the corresponding
222 code:PassthroughNV will only exist for the purposes of interface matching;
223 these declarations are not available to geometry shader code or listed in
228 code:PassthroughNV decoration as output components as well, since their