• Home
  • Raw
  • Download

Lines Matching refs:code

49 The shader code defining a shader module must: be in the SPIR-V format, as
88 * pname:codeSize is the size, in bytes, of the code pointed to by
90 * pname:pCode is a pointer to code that is used to create the shader
92 The type and format of the code is determined from the content of the
103 pname:pCode must: point to valid SPIR-V code, formatted and packed as
112 If pname:pCode is a pointer to SPIR-V code, pname:codeSize must: be a
115 pname:pCode must: point to either valid SPIR-V code, formatted and
117 or valid GLSL code which must: be written to the `GL_KHR_vulkan_glsl`
120 If pname:pCode is a pointer to SPIR-V code, that code must: adhere to
125 If pname:pCode is a pointer to GLSL code, it must: be valid GLSL code
129 pname:pCode must: declare the code:Shader capability for SPIR-V code
271 The code:OpMemoryBarrier instruction can: be used to provide stronger
273 code:OpMemoryBarrier guarantees that any memory transactions issued by the
280 an code:OpMemoryBarrier instruction, followed by another write, then the
290 with code:Coherent automatically have available writes to the same buffer,
295 code:Coherent automatically have available writes to the same buffer, buffer
316 and reads in the same way as those to code:Coherent variables.
322 memory backing may: not be well-defined even with the code:Coherent
350 their code:Location decorations.
352 provided by the execution environment using code:BuiltIn decorations.
354 In many cases, the same code:BuiltIn decoration can: be used in multiple
356 The specific behavior of variables decorated as code:BuiltIn is documented
389 the code:LocalSize
390 ifdef::VK_KHR_maintenance4[or code:LocalSizeId]
391 execution mode or via an object decorated by the code:WorkgroupSize
431 the code:LocalSize
432 ifdef::VK_KHR_maintenance4[or code:LocalSizeId]
433 execution mode or via an object decorated by the code:WorkgroupSize
542 The size of the output patch is controlled by the code:OpExecutionMode
543 code:OutputVertices specified in the tessellation control or tessellation
566 However, the code:OpControlBarrier instruction can: be used to provide
646 value to the code:LocalSize
647 ifdef::VK_KHR_maintenance4[or code:LocalSizeId]
648 execution mode or via an object decorated by the code:WorkgroupSize
661 Its main purpose is to execute ray tracing queries using code:OpTraceRayKHR
688 To report an intersection, the shader calls the code:OpReportIntersectionKHR
714 code:OpIgnoreIntersectionKHR instruction.
735 Closest hit shaders can: call code:OpTraceRayKHR to recursively trace rays.
749 code:OpTraceRayKHR instruction, but cannot: access attributes since they are
770 A callable shader is executed by calling code:OpExecuteCallableKHR from an
781 Interpolation decorations can: be applied to code:Input storage class
788 * code:Flat: no interpolation
789 * code:NoPerspective: linear interpolation (for
793 * code:PerVertexNV: values fetched from shader-specified primitive vertex
796 Fragment input variables decorated with neither code:Flat nor
797 code:NoPerspective use perspective-correct interpolation (for
802 interpolation decorations as well as the auxiliary decorations code:Centroid
803 and code:Sample.
805 A variable decorated with code:Flat will not be interpolated.
809 A variable decorated with code:Flat can: also be decorated with
810 code:Centroid or code:Sample, which will mean the same thing as decorating
811 it only as code:Flat.
813 For fragment shader input variables decorated with neither code:Centroid nor
814 code:Sample, the assigned variable may: be interpolated anywhere within the
818 If a fragment shader input is decorated with code:Centroid, a single value
829 The code:PostDepthCoverage execution mode does not affect the determination
833 If a fragment shader input is decorated with code:Sample, a separate value
837 center must: be used for code:Centroid, code:Sample, and undecorated
842 code:Flat.
846 is enabled inputs can: be also decorated with the code:CustomInterpAMD
850 Inputs decorated with code:CustomInterpAMD can: only be accessed by the
851 extended instruction code:InterpolateAtVertexAMD and allows accessing the
858 also decorated with the code:PerVertexNV interpolation decoration, including
861 Inputs decorated with code:PerVertexNV can: only be accessed using an extra
870 A SPIR-V module declares a global object in memory using the code:OpVariable
871 instruction, which results in a pointer code:x to that object.
874 memory instruction or image instruction with code:x as an code:id operand.
879 Static use is not used to control the behavior of variables with code:Input
880 and code:Output storage.
904 Whilst the code:CrossDevice scope is defined in SPIR-V, it is disallowed in
919 represented in SPIR-V by the code:Device code:Scope, which can: be used as a
920 code:Memory code:Scope for barrier and atomic operations.
926 code:Device code:Scope with the code:OpReadClockKHR instruction will read
953 code:QueueFamily code:Scope if the
957 code:Device code:Scope, which can: be used as a code:Memory code:Scope for
967 using the code:Device code:Scope with the code:OpReadClockKHR instruction
992 There is no specific code:Scope for communication across invocations in a
1011 There is no specific code:Scope for communication across invocations in a
1020 Any input variables decorated with code:Flat are uniform within a primitive
1033 The code:ShaderCallKHR code:Scope can be used as code:Memory code:Scope for
1045 data with each other using memory in the code:Workgroup storage class.
1047 The code:Workgroup code:Scope can be used as both an code:Execution
1048 code:Scope and code:Memory code:Scope for barrier and atomic operations.
1071 The code:Subgroup code:Scope can be used as both an code:Execution
1072 code:Scope and code:Memory code:Scope for barrier and atomic operations.
1078 is enabled, using the code:Subgroup code:Scope with the code:OpReadClockKHR
1112 In a compute shader, if the code:DerivativeGroupQuadsNV execution mode is
1122 In a compute shader, if the code:DerivativeGroupLinearNV execution mode is
1185 * If the code:SampleInterlockOrderedEXT or
1186 code:SampleInterlockUnorderedEXT execution modes are used, only
1189 * If the code:PixelInterlockOrderedEXT or code:PixelInterlockUnorderedEXT
1193 * If the code:ShadingRateInterlockOrderedEXT or
1194 code:ShadingRateInterlockUnorderedEXT execution modes are used,
1202 There is no specific code:Scope value for communication across invocations
1205 code:OpBeginInvocationInterlockEXT and code:OpEndInvocationInterlockEXT.
1216 code:Invocation code:Scope in SPIR-V.
1252 Group operations all take a code:Scope defining the desired
1254 Only the code:Subgroup scope can: be used for these operations; the
1262 Basic group operations include the use of code:OpGroupNonUniformElect,
1263 code:OpControlBarrier, code:OpMemoryBarrier, and atomic operations.
1265 code:OpGroupNonUniformElect can: be used to choose a single invocation to
1267 Only the invocation with the lowest id in the group will return code:true.
1289 choose potentially faster code-paths in these cases.
1355 Quad group operations (code:OpGroupNonUniformQuad*) are a specialized type
1358 Whilst these instructions do include a code:Scope parameter, this scope is
1371 For code:OpGroupNonUniformQuadBroadcast this value is equal to code:Index.
1372 For code:OpGroupNonUniformQuadSwap, it is equal to the implicit code:Index
1395 All dynamic instances of explicit derivative instructions (code:OpDPdx*,
1396 code:OpDPdy*, and code:OpFwidth*) must: be executed in control flow that is
1418 For fine derivative operations (code:OpDPdxFine and code:OpDPdyFine), the
1432 Coarse derivative operations (code:OpDPdxCoarse and code:OpDPdyCoarse),
1461 The results for code:OpDPdx and code:OpDPdy may: be calculated as either
1466 Executing code:OpFwidthFine, code:OpFwidthCoarse, or code:OpFwidth is
1467 equivalent to executing the corresponding code:OpDPdx* and code:OpDPdy*
1470 Executing an code:OpImage*Sample*ImplicitLod instruction is equivalent to
1471 executing code:OpDPdx(code:Coordinate) and code:OpDPdy(code:Coordinate), and
1472 passing the results as the code:Grad operands code:dx and code:dy.
1477 It is expected that using the code:ImplicitLod variants of sampling
1479 code:ExplicitLod variants with explicitly generated derivatives.
1493 identified by a non-zero value in the code:HelperInvocation built-in.
1557 (code:OpCooperativeMatrixMulAddNV).
1611 * ename:VK_SCOPE_DEVICE_NV corresponds to SPIR-V code:Device scope.
1612 * ename:VK_SCOPE_WORKGROUP_NV corresponds to SPIR-V code:Workgroup scope.
1613 * ename:VK_SCOPE_SUBGROUP_NV corresponds to SPIR-V code:Subgroup scope.
1614 * ename:VK_SCOPE_QUEUE_FAMILY_NV corresponds to SPIR-V code:QueueFamily
1627 code:OpTypeFloat 16.
1629 code:OpTypeFloat 32.
1631 code:OpTypeFloat 64.
1632 * ename:VK_COMPONENT_TYPE_SINT8_NV corresponds to SPIR-V code:OpTypeInt 8 1.
1633 * ename:VK_COMPONENT_TYPE_SINT16_NV corresponds to SPIR-V code:OpTypeInt
1635 * ename:VK_COMPONENT_TYPE_SINT32_NV corresponds to SPIR-V code:OpTypeInt
1637 * ename:VK_COMPONENT_TYPE_SINT64_NV corresponds to SPIR-V code:OpTypeInt
1639 * ename:VK_COMPONENT_TYPE_UINT8_NV corresponds to SPIR-V code:OpTypeInt 8 0.
1640 * ename:VK_COMPONENT_TYPE_UINT16_NV corresponds to SPIR-V code:OpTypeInt
1642 * ename:VK_COMPONENT_TYPE_UINT32_NV corresponds to SPIR-V code:OpTypeInt
1644 * ename:VK_COMPONENT_TYPE_UINT64_NV corresponds to SPIR-V code:OpTypeInt