Lines Matching refs:variables
39 also decorate types and type members used by variables in the code:Private
63 All the variables forming the shader input and output _interfaces_ are
70 There are two classes of variables that can: be matched between shader
71 stages, built-in variables and user-defined variables.
74 code:Output variables of a shader stage have undefined: values until the
82 Shader <<interfaces-builtin-variables,built-in>> variables meeting the
89 <<interfaces-builtin-variables,Built-in Variables>> section, and
107 The non-built-in variables listed by code:OpEntryPoint with the code:Input
115 These variables must: be identified with a code:Location decoration and can:
142 enabled, they are declared as code:OpTypeVector variables, and the
164 The word "`structure`" above refers to both variables that have an
179 All input variables and blocks must: have an interface match in the
180 preceding shader stage, except for built-in variables in fragment shaders.
181 Shaders can: declare and write to output variables that are not declared or
197 This section describes code:Location assignments for user-defined variables
271 All variables in both the <<interfaces-builtin-variables,built-in interface
350 variables form an interface with the vertex input attributes.
351 The vertex shader input variables are matched by the code:Location and
356 The vertex shader input variables listed by code:OpEntryPoint with the
358 These variables must: be identified with a code:Location decoration and can:
361 For the purposes of interface matching: variables declared without a
380 The fragment shader output variables are matched by the code:Location and
383 The fragment shader output variables listed by code:OpEntryPoint with the
385 These variables must: be identified with a code:Location decoration.
388 For the purposes of interface matching: variables declared without a
390 of zero, and variables declared without an code:Index decoration are
416 Components of the output variables are assigned as described in
421 If two variables are placed within the same code:Location, they must: have
494 image variables decorated with code:Location form an interface with the
496 The fragment shader tile image variables are matched by code:Location
501 The fragment shader variables listed by code:OpEntryPoint with the
504 These variables must: be declared with a type of code:OpTypeImage, and a
506 The code:Component decoration is not supported for these variables.
524 attachment, or the values read from the tile image variables are undefined:.
532 The fragment shader subpass input variables are matched by
537 The fragment shader subpass input variables with the code:UniformConstant
541 These variables must: be declared with a type of code:OpTypeImage, a
571 subpass loads from these variables are undefined:.
594 The three types of inter-stage interface variables for ray tracing pipelines
642 variables must: be matched with the <<descriptorsets-pipelinelayout,pipeline
645 The set of shader variables that form the _shader resource interface_ for a
646 stage are the variables statically used by that stage's code:OpEntryPoint
662 The shader variables defined with a storage class of code:PushConstant that
692 The _descriptor set interface_ is comprised of the shader variables with the
697 code:Uniform or code:UniformConstant (including the variables in the
701 These variables must: have code:DescriptorSet and code:Binding decorations
707 *Unknown*, for variables which are used for code:OpImageRead,
737 *Unknown*, for variables which are used for code:OpAtomic* operations.
741 Such variables must: be:
752 Such variables must: be:
797 SPIR-V variables decorated with a descriptor set and binding that identify a
1056 referenced by any variables statically used by the entry points for the
1076 There are no limits on the number of shader variables that can have
1085 If multiple shader variables are declared with the same set and binding
1093 If multiple shader variables with the same set and binding values are
1096 only be executed if the variables with the unsupported type are not
1099 A noteworthy example of using multiple statically-used shader variables
1102 corresponding shader variables in the code:UniformConstant storage class,
1363 [[interfaces-builtin-variables]]
1366 Built-in variables are accessed in shaders by declaring a variable decorated
1382 [[interfaces-builtin-variables-barycoordkhr]]
1442 [[interfaces-builtin-variables-barycoordnoperspkhr]]
1641 [[interfaces-builtin-variables-baseinstance]]
1669 [[interfaces-builtin-variables-basevertex]]
1702 [[interfaces-builtin-variables-clipdistance]]
1761 [[interfaces-builtin-variables-clipdistancepv]]
1792 [[interfaces-builtin-variables-clusteridhuawei]]
1819 [[interfaces-builtin-variables-culldistance]]
1873 [[interfaces-builtin-variables-culldistancepv]]
1903 [[interfaces-builtin-variables-cullprimitive]]
1938 [[interfaces-builtin-variables-cullmask]]
1967 [[interfaces-builtin-variables-currentraytime]]
1995 [[interfaces-builtin-variables-deviceindex]]
2022 [[interfaces-builtin-variables-drawindex]]
2069 [[interfaces-builtin-variables-firstindexhuawei]]
2095 [[interfaces-builtin-variables-fragcoord]]
2137 [[interfaces-builtin-variables-fragdepth]]
2173 [[interfaces-builtin-variables-firstinstancehuawei]]
2198 [[interfaces-builtin-variables-firstvertexhuawei]]
2224 [[interfaces-builtin-variables-fraginvocationcount]]
2255 [[interfaces-builtin-variables-fragsize]]
2286 [[interfaces-builtin-variables-fragstencilref]]
2355 [[interfaces-builtin-variables-frontfacing]]
2384 [[interfaces-builtin-variables-fullycoveredext]]
2422 [[interfaces-builtin-variables-globalinvocationid]]
2450 [[interfaces-builtin-variables-helperinvocation]]
2487 [[interfaces-builtin-variables-hitkind]]
2517 [[interfaces-builtin-variables-hitt]]
2543 [[interfaces-builtin-variables-hittrianglevertexpositions]]
2581 [[interfaces-builtin-variables-incomingrayflags]]
2591 corresponding flags to be set in variables with this decoration.
2609 [[interfaces-builtin-variables-indexcounthuawei]]
2634 [[interfaces-builtin-variables-instancecounthuawei]]
2657 [[interfaces-builtin-variables-instancecustomindex]]
2687 [[interfaces-builtin-variables-instanceid]]
2714 [[interfaces-builtin-variables-invocationid]]
2778 [[interfaces-builtin-variables-instanceindex]]
2808 [[interfaces-builtin-variables-launchid]]
2819 All shader invocations inherit the same value for variables decorated with
2837 [[interfaces-builtin-variables-launchsize]]
2866 [[interfaces-builtin-variables-layer]]
2957 [[interfaces-builtin-variables-layerpv]]
2986 [[interfaces-builtin-variables-localinvocationid]]
3027 [[interfaces-builtin-variables-localinvocationindex]]
3063 [[interfaces-builtin-variables-meshviewcount]]
3088 [[interfaces-builtin-variables-meshviewindices]]
3122 [[interfaces-builtin-variables-numsubgroups]]
3148 [[interfaces-builtin-variables-numworkgroups]]
3176 [[interfaces-builtin-variables-objectraydirection]]
3201 [[interfaces-builtin-variables-objectrayorigin]]
3226 [[interfaces-builtin-variables-objecttoworld]]
3254 [[interfaces-builtin-variables-patchvertices]]
3287 [[interfaces-builtin-variables-pointcoord]]
3324 [[interfaces-builtin-variables-pointsize]]
3379 [[interfaces-builtin-variables-position]]
3423 [[interfaces-builtin-variables-positionperview]]
3483 [[interfaces-builtin-variables-primitivecount]]
3511 [[interfaces-builtin-variables-primitiveid]]
3533 value of variables decorated with code:PrimitiveId.
3584 the output variables decorated with code:PrimitiveId in all execution
3590 code:MeshEXT or code:MeshNV shader must: write to the output variables
3621 [[interfaces-builtin-variables-primitiveindices]]
3667 [[interfaces-builtin-variables-primitivepointindices]]
3703 [[interfaces-builtin-variables-primitivelineindices]]
3739 [[interfaces-builtin-variables-primitivetriangleindices]]
3777 [[interfaces-builtin-variables-primitiveshadingrate]]
3839 [[interfaces-builtin-variables-raygeometryindex]]
3867 [[interfaces-builtin-variables-raytmax]]
3909 [[interfaces-builtin-variables-raytmin]]
3940 [[interfaces-builtin-variables-sampleid]]
3970 [[interfaces-builtin-variables-samplemask]]
4024 [[interfaces-builtin-variables-sampleposition]]
4072 [[interfaces-builtin-variables-shadingratekhr]]
4099 [[interfaces-builtin-variables-smcountnv]]
4120 [[interfaces-builtin-variables-smidnv]]
4145 [[interfaces-builtin-variables-subgroupid]]
4173 [[interfaces-builtin-variables-sgeq]]
4200 [[interfaces-builtin-variables-sgge]]
4228 [[interfaces-builtin-variables-sggt]]
4256 [[interfaces-builtin-variables-sgle]]
4284 [[interfaces-builtin-variables-sglt]]
4312 [[interfaces-builtin-variables-sgli]]
4330 <<interfaces-builtin-variables-sgs,code:SubgroupSize>>,
4390 [[interfaces-builtin-variables-sgs]]
4481 [[interfaces-builtin-variables-taskcount]]
4508 [[interfaces-builtin-variables-tesscoord]]
4537 [[interfaces-builtin-variables-tesslevelouter]]
4577 [[interfaces-builtin-variables-tesslevelinner]]
4618 [[interfaces-builtin-variables-vertexcounthuawei]]
4642 [[interfaces-builtin-variables-vertexindex]]
4682 [[interfaces-builtin-variables-vertexoffsethuawei]]
4707 [[interfaces-builtin-variables-viewindex]]
4738 [[interfaces-builtin-variables-viewportindex]]
4833 [[interfaces-builtin-variables-viewportmask]]
4898 [[interfaces-builtin-variables-viewportmaskperview]]
4964 [[interfaces-builtin-variables-warpspersmnv]]
4985 [[interfaces-builtin-variables-warpidnv]]
5009 [[interfaces-builtin-variables-workgroupid]]
5037 [[interfaces-builtin-variables-workgroupsize]]
5078 [[interfaces-builtin-variables-worldraydirection]]
5104 [[interfaces-builtin-variables-worldrayorigin]]
5130 [[interfaces-builtin-variables-worldtoobject]]
5159 [[interfaces-builtin-variables-corecountarm]]
5180 [[interfaces-builtin-variables-coremaxidarm]]
5202 [[interfaces-builtin-variables-coreidarm]]
5225 [[interfaces-builtin-variables-warpmaxidarm]]
5247 [[interfaces-builtin-variables-warpidarm]]
5272 [[interfaces-builtin-variables-coalescedinputcountamd]]