Home
last modified time | relevance | path

Searched refs:code (Results 1 – 25 of 643) sorted by relevance

12345678910>>...26

/device/generic/vulkan-cereal/protocols/vulkan/appendices/
Dspirvenv.txt68 | SPIR-V code:OpCapability +
76 * any code:OpCapability not listed above,
100 | SPIR-V code:OpExtension +
174 code:OpAtomicStore must: not use *Acquire*, *AcquireRelease*, or
177 code:OpAtomicLoad must: not use *Release*, *AcquireRelease*, or
180 code:OpMemoryBarrier must: use one of *Acquire*, *Release*,
183 code:OpMemoryBarrier must: include at least one storage class
185 If the semantics for code:OpControlBarrier includes one of *Acquire*,
189 Any code:OpVariable with an code:Initializer operand must: have
193 Any code:OpVariable with an code:Initializer operand and *Workgroup* as
[all …]
DVK_EXT_shader_subgroup_ballot.txt37 * code:SubgroupEqMaskKHR, which contains the subgroup mask of the current
39 * code:SubgroupGeMaskKHR, which contains the subgroup mask of the
41 * code:SubgroupGtMaskKHR, which contains the subgroup mask of the
43 * code:SubgroupLeMaskKHR, which contains the subgroup mask of the
45 * code:SubgroupLtMaskKHR, which contains the subgroup mask of the
47 * code:SubgroupLocalInvocationId, which contains the index of an
49 * code:SubgroupSize, which contains the maximum number of invocations in a
54 * code:OpSubgroupBallotKHR,
55 * code:OpSubgroupFirstInvocationKHR, and
56 * code:OpSubgroupReadInvocationKHR,
[all …]
DVK_EXT_shader_subgroup_vote.txt30 * code:OpSubgroupAllKHR,
31 * code:OpSubgroupAnyKHR, and
32 * code:OpSubgroupAllEqualKHR.
43 * code:anyInvocationARB() -> code:OpSubgroupAnyKHR,
44 * code:allInvocationsARB() -> code:OpSubgroupAllKHR, and
45 * code:allInvocationsEqualARB() -> code:OpSubgroupAllEqualKHR.
58 When executing code like
69 where code:condition diverges between invocations, an implementation might
70 first execute code:do_fast_path() for the invocations where code:condition
72 Once code:do_fast_path() returns, it might call code:do_general_path() for
[all …]
DVK_NV_viewport_array2.txt31 A new shader built-in output code:ViewportMaskNV is provided, which allows a
34 viewport index is added into the variable decorated with the code:Layer
39 This extension allows variables decorated with the code:Layer and
40 code:ViewportIndex built-ins to be exported from vertex or tessellation
41 shaders, using the code:ShaderViewportIndexLayerNV capability.
43 This extension adds a new code:ViewportMaskNV built-in decoration that is
45 geometry shaders, and a new code:ViewportRelativeNV decoration that can be
46 added on variables decorated with code:Layer when using the
47 code:ShaderViewportMaskNV capability.
49 When using GLSL source-based shading languages, the code:gl_ViewportMask[]
[all …]
DVK_KHR_shader_draw_parameters.txt36 * code:BaseInstance, which contains the pname:firstInstance parameter
38 * code:BaseVertex, which contains the pname:firstVertex or
40 * code:DrawIndex, which contains the index of the draw call currently
47 * `in int gl_BaseInstanceARB;` -> code:BaseInstance,
48 * `in int gl_BaseVertexARB;` -> code:BaseVertex, and
49 * `in int gl_DrawIDARB;` -> code:DrawIndex.
61 * <<interfaces-builtin-variables-baseinstance,code:BaseInstance>>
62 * <<interfaces-builtin-variables-basevertex,code:BaseVertex>>
63 * <<interfaces-builtin-variables-drawindex,code:DrawIndex>>
76 In GL for `GL_ARB_shader_draw_parameters`, code:gl_BaseVertexARB holds the
[all …]
DVK_NN_vi_surface.txt24 code:nn::code:vi::code:Layer.
38 code:nn::code:vi::code:NativeWindowHandle, but its declared type is a bare
39 code:void* to store the window handle.
44 code:nn::code:vi C++ namespace.
46 code:nn::code:vi::code:NativeWindowHandle is always defined to be
47 code:void*, so this extension uses code:void* to match.
DVK_EXT_shader_viewport_index_layer.txt32 This extension adds support for the code:ShaderViewportIndexLayerEXT
36 This extension allows variables decorated with the code:Layer and
37 code:ViewportIndex built-ins to be exported from vertex or tessellation
38 shaders, using the code:ShaderViewportIndexLayerEXT capability.
40 When using GLSL source-based shading languages, the code:gl_ViewportIndex
41 and code:gl_Layer built-in variables map to the SPIR-V code:ViewportIndex
42 and code:Layer built-in decorations, respectively.
52 The code:ShaderViewportIndexLayerEXT capability is equivalent to the
53 code:ShaderViewportIndexLayerNV capability added by
62 The single code:ShaderViewportIndexLayerEXT capability from the
[all …]
DVK_NV_fragment_shader_barycentric.txt31 * code:PerVertexNV, which indicates that a fragment shader input will not
35 * code:BaryCoordNV, which indicates that the variable is a three-component
38 * code:BaryCoordNoPerspNV, which indicates that the variable is a
46 * `in vec3 gl_BaryCoordNV;` -> code:BaryCoordNV
47 * `in vec3 gl_BaryCoordNoPerspNV;` -> code:BaryCoordNoPerspNV
49 GLSL variables declared using the code:__pervertexNV GLSL qualifier are
50 expected to be decorated with code:PerVertexNV in SPIR-V.
56 * <<interfaces-builtin-variables-barycoordnv,code:BaryCoordNV>>
57 * <<interfaces-builtin-variables-barycoordnoperspnv,code:BaryCoordNoPerspNV>>
61 * <<shaders-interpolation-decorations-pervertexnv,code:PerVertexNV>>
[all …]
DVK_NV_ray_tracing.txt56 * <<interfaces-builtin-variables-launchid,code:LaunchIdNV>>
57 * <<interfaces-builtin-variables-launchsize,code:LaunchSizeNV>>
58 * <<interfaces-builtin-variables-worldrayorigin,code:WorldRayOriginNV>>
59 * <<interfaces-builtin-variables-worldraydirection,code:WorldRayDirectionNV>>
60 * <<interfaces-builtin-variables-objectrayorigin,code:ObjectRayOriginNV>>
61 * <<interfaces-builtin-variables-objectraydirection,code:ObjectRayDirectionNV>>
62 * <<interfaces-builtin-variables-raytmin,code:RayTminNV>>
63 * <<interfaces-builtin-variables-raytmax,code:RayTmaxNV>>
64 * <<interfaces-builtin-variables-instancecustomindex,code:InstanceCustomIndexNV>>
65 * <<interfaces-builtin-variables-instanceid,code:InstanceId>>
[all …]
DVK_KHR_ray_tracing_pipeline.txt20 and the <<shaders-scope-shadercall, code:ShaderCallKHR>> scope.
96 * <<interfaces-builtin-variables-launchid,code:LaunchIdKHR>>
97 * <<interfaces-builtin-variables-launchsize,code:LaunchSizeKHR>>
98 * <<interfaces-builtin-variables-worldrayorigin,code:WorldRayOriginKHR>>
99 * <<interfaces-builtin-variables-worldraydirection,code:WorldRayDirectionKHR>>
100 * <<interfaces-builtin-variables-objectrayorigin,code:ObjectRayOriginKHR>>
101 * <<interfaces-builtin-variables-objectraydirection,code:ObjectRayDirectionKHR>>
102 * <<interfaces-builtin-variables-raytmin,code:RayTminKHR>>
103 * <<interfaces-builtin-variables-raytmax,code:RayTmaxKHR>>
104 * <<interfaces-builtin-variables-instancecustomindex,code:InstanceCustomIndexKHR>>
[all …]
DVK_NV_mesh_shader.txt56 * (modified)code:Position
57 * (modified)code:PointSize
58 * (modified)code:ClipDistance
59 * (modified)code:CullDistance
60 * (modified)code:PrimitiveId
61 * (modified)code:Layer
62 * (modified)code:ViewportIndex
63 * (modified)code:WorkgroupSize
64 * (modified)code:WorkgroupId
65 * (modified)code:LocalInvocationId
[all …]
DVK_KHR_shader_float_controls.txt42 * <<spirvenv-capabilities-table-DenormPreserve,code:DenormPreserve>>
43 * <<spirvenv-capabilities-table-DenormFlushToZero,code:DenormFlushToZero>>
44 * <<spirvenv-capabilities-table-SignedZeroInfNanPreserve,code:SignedZeroInfNanPreserve>>
45 * <<spirvenv-capabilities-table-RoundingModeRTE,code:RoundingModeRTE>>
46 * <<spirvenv-capabilities-table-RoundingModeRTZ,code:RoundingModeRTZ>>
53 floating-point relational (except code:OpIsNaN, code:OpIsInf), and
61 * in the code:DenormFlushToZero execution mode, the intermediate
64 * in the code:DenormPreserve execution mode, denormals must be preserved
67 3) Do denorm and rounding mode controls apply to code:OpSpecConstantOp?
69 *RESOLVED*: Yes, except when the opcode is code:OpQuantizeToF16.
[all …]
DVK_KHR_shader_clock.txt26 This extension advertises the SPIR-V code:ShaderClockKHR capability for
29 The two valid SPIR-V scopes for code:OpReadClockKHR are code:Subgroup and
30 code:Device.
32 When using GLSL source-based shading languages, the code:clockRealtime*EXT()
33 timing functions map to the code:OpReadClockKHR instruction with a scope of
34 code:Device, and the code:clock*ARB() timing functions map to the
35 code:OpReadClockKHR instruction with a scope of code:Subgroup.
DVK_EXT_shader_atomic_float2.txt29 It advertises the SPIR-V code:AtomicFloat16AddEXT capability which allows
31 code:AtomicFloat16MinMaxEXT, code:AtomicFloat32MinMaxEXT and
32 code:AtomicFloat64MinMaxEXT capabilities which allow atomic minimum and
34 The supported operations include code:OpAtomicFAddEXT, code:OpAtomicFMinEXT
35 and code:OpAtomicFMaxEXT.
55 code:AtomicFloat32MinMaxEXT>>
57 code:AtomicFloat32MinMaxEXT>>
59 code:AtomicFloat32MinMaxEXT>>
61 code:AtomicFloat64MinMaxEXT>>
/device/generic/vulkan-cereal/protocols/vulkan/chapters/
Dinterfaces.txt23 * code:DescriptorSet and code:Binding
24 * code:Location, code:Component, and code:Index
25 * code:Flat, code:NoPerspective, code:Centroid, and code:Sample
26 * code:Block and code:BufferBlock
27 * code:InputAttachmentIndex
28 * code:Offset, code:ArrayStride, and code:MatrixStride
29 * code:BuiltIn
31 * <<geometry-passthrough-passthrough,code:PassthroughNV>>
37 that, when using SPIR-V versions 1.4 and earlier: code:Block,
38 code:BufferBlock, code:Offset, code:ArrayStride, and code:MatrixStride can
[all …]
Dgeometry.txt24 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
[all …]
Draytraversal.txt13 ifdef::VK_KHR_ray_query[code:OpRayQueryProceedKHR]
15 ifdef::VK_KHR_ray_tracing_pipeline[code:OpTraceRayKHR]
19 enabled, code:OpTraceRayKHR can: be used for <<ray-tracing, ray tracing>> in
24 code:OpRayQueryProceedKHR can: be used in any shader stage.
178 are evaluated at the time specified in the code:time parameter to
179 code:OpTraceRayMotionNV by interpolating between the two endpoints as
181 If a motion acceleration structure is traced with code:OpTraceRayKHR, it
182 behaves as a code:OpTraceRayMotionNV with code:time of 0.0.
194 If the ray was traced with code:OpTraceRayKHR, these values are available as
195 a vector of 2 32-bit floating point values in the code:HitAttributeKHR
[all …]
Draytracing.txt19 Within the ray tracing pipeline, code:OpTraceRayKHR
21 or code:OpTraceRayMotionNV
29 code:OpExecuteCallableKHR can also be used in ray tracing pipelines to
44 The code:Workgroup scope and variables with a storage class of
45 code:Workgroup must: not be used in the ray tracing pipeline.
57 * code:OpTraceRayKHR which may: invoke intersection, any-hit, closest hit,
60 * code:OpTraceRayMotionNV which may: invoke intersection, any-hit, closest
63 * code:OpReportIntersectionKHR which may: invoke any-hit shaders, and
64 * code:OpExecuteCallableKHR which will invoke a callable shader.
93 which may recurse (e.g. code:OpExecuteCallableKHR) but there is an upper
[all …]
Dshaders.txt49 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
[all …]
Dlimits.txt124 All code:DescriptorSet decorations in shader modules must: have a value
395 pipeline creation time and the value provided in the code:OutputVertices
426 The value provided in the code:Invocations execution mode of shader
455 buffers, storage images, and output code:Location decorated color
460 declared with the code:Workgroup storage class in shader modules (or
461 with the code:shared storage qualifier in GLSL) in the compute shader
464 When variables declared with the code:Workgroup storage class are
465 explicitly laid out (hence they are also decorated with code:Block), the
473 variables declared with the code:Workgroup storage class is
480 variables declared with code:Workgroup storage class were assigned
[all …]
/device/generic/vulkan-cereal/third-party/angle/src/tests/test_utils/
Dcompiler_test.cpp138 for (auto &code : mOutputCode) in compile() local
141 compileWithSettings(code.first, shaderString, compileOptions, &code.second, &infoLog); in compile()
163 const auto code = mOutputCode.find(output); in foundInCodeRegex() local
164 EXPECT_NE(mOutputCode.end(), code); in foundInCodeRegex()
165 if (code == mOutputCode.end()) in foundInCodeRegex()
172 return std::regex_search(code->second, *match, regexToFind); in foundInCodeRegex()
176 return std::regex_search(code->second, regexToFind); in foundInCodeRegex()
182 const auto code = mOutputCode.find(output); in foundInCode() local
183 EXPECT_NE(mOutputCode.end(), code); in foundInCode()
184 if (code == mOutputCode.end()) in foundInCode()
[all …]
/device/generic/vulkan-cereal/protocols/vulkan/chapters/VK_NN_vi_surface/
DplatformCreateSurface_vi.txt10 To create a sname:VkSurfaceKHR object for an code:nn::code:vi::code:Layer,
12 code:nn::code:vi::code:GetNativeWindow, and then call:
27 code:nn::code:vi::code:NativeWindowHandle, applications must: not attempt to
28 create another surface for the same code:nn::code:vi::code:Layer or attempt
29 to connect to the same code:nn::code:vi::code:Layer through other platform
40 code:nn::code:vi::code:GetDisplayResolution).
55 * pname:window is the code:nn::code:vi::code:NativeWindowHandle for the
56 code:nn::code:vi::code:Layer with which to associate the surface.
61 pname:window must: be a valid code:nn::code:vi::code:NativeWindowHandle
/device/generic/vulkan-cereal/protocols/vulkan/chapters/VK_NV_mesh_shader/
Dmesh.txt36 the <<interfaces-builtin-variables,built-in variable>> code:TaskCountNV.
42 These outputs are decorated as code:PerTaskNV.
57 code:PerTaskNV by the task shader that spawned the mesh shader's workgroup.
66 The primitive mode is specified in the shader using an code:OpExecutionMode
67 instruction with the code:OutputPoints, code:OutputLinesNV, or
68 code:OutputTrianglesNV modes, respectively.
72 using an code:OpExecutionMode instruction with the mode set to
73 code:OutputVertices and must: be less than or equal to
77 using an code:OpExecutionMode instruction with the mode set to
78 code:OutputPrimitivesNV and must: be less than or equal to
[all …]
/device/generic/vulkan-cereal/protocols/vulkan/chapters/commonvalidity/
Ddraw_dispatch_common.txt68 code:OpTypeImage is code:Unknown must: have image format features that
73 code:OpTypeImage is code:Unknown must: have image format features that
134 code:ImplicitLod, code:Dref or code:Proj in their name, in any shader
163 If a slink:VkImageView is accessed using code:OpImageWrite as a result
164 of this command, then the code:Type of the code:Texel operand of that
168 If a slink:VkBufferView is accessed using code:OpImageWrite as a result
169 of this command, then the code:Type of the code:Texel operand of that
175 width is accessed as a result of this command, the code:SampledType of
176 the code:OpTypeImage operand of that instruction must: have a code:Width
181 code:SampledType of the code:OpTypeImage operand of that instruction
[all …]
/device/generic/vulkan-cereal/protocols/vulkan/chapters/VK_KHR_wayland_surface/
DplatformCreateSurface_wayland.txt38 code:wl_display and code:wl_surface to associate the surface with.
43 pname:display must: point to a valid Wayland code:wl_display
45 pname:surface must: point to a valid Wayland code:wl_surface
62 Some Vulkan functions may: send protocol over the specified code:wl_display
64 sname:VkSurfaceKHR referring to a code:wl_surface.
65 Applications must: therefore ensure that both the code:wl_display and the
66 code:wl_surface remain valid for the lifetime of any sname:VkSwapchainKHR
67 objects created from a particular code:wl_display and code:wl_surface.
69 code:wl_surface.commit requests to the underlying code:wl_surface of each
73 then the corresponding code:wl_surface.attach, code:wl_surface.damage, and
[all …]

12345678910>>...26