Lines Matching full:code
50 The shader code defining a shader module must: be in the SPIR-V format, as
97 * pname:codeSize is the size, in bytes, of the code pointed to by
99 * pname:pCode points to code that is used to create the shader module.
100 The type and format of the code is determined from the content of the
111 pname:pCode must: point to valid SPIR-V code, formatted and packed as
120 If pname:pCode points to SPIR-V code, pname:codeSize must: be a multiple
123 pname:pCode must: point to either valid SPIR-V code, formatted and
125 or valid GLSL code which must: be written to the +GL_KHR_vulkan_glsl+
128 If pname:pCode points to SPIR-V code, that code must: adhere to the
133 If pname:pCode points to GLSL code, it must: be valid GLSL code written
137 pname:pCode must: declare the code:Shader capability for SPIR-V code
258 The code:OpMemoryBarrier instruction can: be used to provide stronger
260 code:OpMemoryBarrier guarantees that any memory transactions issued by the
267 an code:OpMemoryBarrier instruction, followed by another write, then the
277 with code:Coherent automatically have available writes to the same buffer,
282 code:Coherent automatically have available writes to the same buffer, buffer
303 and reads in the same way as those to code:Coherent variables.
309 memory backing may: not be well-defined even with the code:Coherent
329 their code:Location decorations.
331 provided by the execution environment using code:BuiltIn decorations.
333 In many cases, the same code:BuiltIn decoration can: be used in multiple
335 The specific behavior of variables decorated as code:BuiltIn is documented
391 The size of the output patch is controlled by the code:OpExecutionMode
392 code:OutputVertices specified in the tessellation control or tessellation
415 However, the code:OpControlBarrier instruction can: be used to provide
532 If the fragment shader specifies the code:EarlyFragmentTests
533 code:OpExecutionMode, the per-fragment tests described in
540 If the fragment shader additionally specifies the code:PostDepthCoverage
541 code:OpExecutionMode, the value of a variable decorated with the
542 <<interfaces-builtin-variables-samplemask,code:SampleMask>> built-in
561 value to the code:LocalSize execution mode or via an object decorated by the
562 code:WorkgroupSize decoration.
573 Interpolation decorations can: be applied to code:Input storage class
580 * code:Flat: no interpolation
581 * code:NoPerspective: linear interpolation (for
585 Fragment input variables decorated with neither code:Flat nor
586 code:NoPerspective use perspective-correct interpolation (for
591 interpolation decorations as well as the auxiliary decorations code:Centroid
592 and code:Sample.
594 A variable decorated with code:Flat will not be interpolated.
598 A variable decorated with code:Flat can: also be decorated with
599 code:Centroid or code:Sample, which will mean the same thing as decorating
600 it only as code:Flat.
602 For fragment shader input variables decorated with neither code:Centroid nor
603 code:Sample, the assigned variable may: be interpolated anywhere within the
606 code:Centroid and code:Sample can: be used to control the location and
608 If a fragment shader input is decorated with code:Centroid, a single value
619 The <<shaders-fragment-earlytest-postdepthcoverage,code:PostDepthCoverage>>
622 If a fragment shader input is decorated with code:Sample, a separate value
626 center must: be used for code:Centroid, code:Sample, and undecorated
631 code:Flat.
635 enabled inputs can: be also decorated with the code:CustomInterpAMD
639 Inputs decorated with code:CustomInterpAMD can: only be accessed by the
640 extended instruction code:InterpolateAtVertexAMD and allows accessing the
648 A SPIR-V module declares a global object in memory using the code:OpVariable
649 instruction, which results in a pointer code:x to that object.
652 memory instruction or image instruction with code:x as an code:id operand.
657 Static use is not used to control the behavior of variables with code:Input
658 and code:Output storage.
712 Barriers can: be performed on buffer memory accesses, code:WorkgroupLocal
715 An code:OpControlBarrier can: also be used to perform a full execution
737 and choose potentially faster code-paths in these cases.